The European Union has not gone as far as President Trump in cracking down on immigration, but its shift is already profound.