Foreign policy flip-flops undermines global stature