The recent surge of refugees into Europe has featured prominently in the anti-immigrant rhetoric of right-wing parties across the Continent and in the heated debate over the UK’s decision to exit the European Union.