EU policy on migrants, refugees has hardened in recent years