Trauttmansdorff-Weinsberg, Ferdinand Alphons?von, Count official at the court of Emperor Franz Josef I of Austria