President 'enjoys much leeway' in withdrawing from internati