Union of princes and the German policy of Catherine II, Frederick II, Joseph II