Claris, Louis Ferdinand, active 1685-1718, Comte de Clairmont, Imperial and Dutch official