A Greek policeman pushes refugees behind a barrier at Greece's border with Macedonia in 2015. Yannis Behrakis/Reuters When Theresa May failed to immediately condemn US President Donald Trump's immigration ban, she was lambasted by politicians and pundits.

Thousands of people protested in front of 10 Downing Street against a Trump state visit and the prime minister was branded "Theresa the Appeaser" — a nod to Neville Chamberlain's appeasement policy toward Hitler in the 1930s.

But a new survey by Chatham House has found that there is plenty of sympathy for Trump's ban in Europe.

Before his controversial decision last week, the policy institute asked 10,000 people from 10 European countries if they agreed or disagreed with the following statement: "All further migration from majority Muslim countries should be stopped."

Here are the results:

Overall, 55% of the population from those ten countries agreed with the statement and 20% disagreed.

In the UK, 47% agreed, 30% neither agreed nor disagreed, and 23% disagreed.

Spain is the country on the list with the least people agreeing with the statement (41%) and the most people disagreeing (32%) .

Poland is the country where most people agreed with the statement (71%). Only 9% disagreed.

In Belgium, Hungary, France, and Austria, the percentage of people agreeing with the statement was more than 60%. All these countries have either been caught up in the refugee crisis or been hit by terrorist attacks in the past few years.

Political sentiment in these countries appears to support Chatham House's findings, with far-right, anti-immigration parties gaining in popularity. In France, for example, Front National leader Marine Le Pen is currently leading the polls for the first round of the elections.

The Chatham House survey also shows that a larger proportion of people support the ban could be found in rural, less populated areas. There was also more support among older, less educated people.

Chatham House also notes that almost two thirds of "left behind" voters, "who feel they don’t have control over their own lives" supported the statement.