Obama's foreign policy on trial