Conservative MPs accused Barack Obama of interfering in British politics after the US President said the UK must remain in the EU to enjoy influence on the world stage.

Mr Obama told the BBC that Britain’s EU membership "gives us much greater confidence about the strength of the transatlantic union". He said the EU "made the world safer and more prosperous".

But John Redwood, a former Cabinet minister and a Eurosceptic, said: “President Obama is wrong about the UK and the EU. If letting foreign countries impose laws on you, levy taxes on you, and spend your money is such a good idea, why doesn’t he create an American Union so Mexico can have common borders with the US, Cuba can spend US tax on herself, and Brazil can impose laws on the US the US does not want?

“If he did that to the US and it worked, then he would be in a stronger moral position to lecture us on having common borders with Eastern Europe, having Greece spending our money and having laws the Germans want but we don’t.”

Owen Paterson, another former Cabinet minister, said: "It is massively in America's interest that a strong UK, using all its contacts in the anglosphere, with Canada, New Zealand and Asia regalvanises the movement for world free trade that would be massively positive for thousands of people."

Tom Pursglove, a Tory backbencher, said the issue of EU membership was "a matter for the British people", adding: “It isn't for anybody else to tell the British people what they are going to do.” Daniel Hannan, a Conservative MEP, said: "I accept that there may be some arguments for staying in the EU. Humouring Barack Obama is not one of them."

Paul Nuttall, Ukip’s deputy leader, described Mr Obama as the "most anti-British [US] president in a generation".

A Downing Street source said: "It's right for Britain to have this renegotiation and this referendum to address the concerns that the British people have about Europe and to make sure the British people have the final say about whether we stay in a reformed EU or leave."