European countries have tied themselves up in knots over trying to keep migrants out. The European Union (EU) signed a…