This is why the EU urgently needs a unified common immigration policy. Schengen can only work if its member states all have the same visa and immigration policies and border control is reinforced at the EU's external borders (especially the Mediterranean and the "eastern front" which lets in most of the illegal immigrants from Asia).