Seizing opportunities in foreign policy