what was the foreign policy of william the 2nd