Sneyd, Jeremiah, Chief Clerk at the Foreign Office