Adlerberg, Carl Gustaf, Swedish diplomatist