Since WHEN does Obama says things like "the United Kingdom will be at the back of the queue"? That's extremely british sounding slang. The only time I even hear "queue" used by Americans is when someone is referencing their Netflix selections.
Shades of when Ashton Carter supposedly posted on Twitter that he was "very honoured and happy" to be appointed Defense Secretary.
He obviously said it for their benefit. They got a first hand taste of what an a-hole he is. It’s highly improper for a foreign head of state to meddle in an internal matter such as this.