Under the EU's domination, Britain had no meaningful control over its borders and immigration policies. Even today the EU is punishing the UK for leaving with boatloads of illegal immigrants. Note that these people aren't fleeing war. They already made it to Europe. It's just that there isn't enough free money for them there, and they want the UK's generous allowances. That's why they kept going. Remember: immigrants are a punishment.