The Schengen area had nothing to do with who could or couldn't migrate to the UK when the UK was in the EU.