The referendum on Britain’s membership of the EU might be more than a year away, but Barack Obama has already nailed his colors to the mast.