Remember that the referendum was about keeping EU citizens out of the UK’s workforce
Yes and? The UK can require foreigners to have work visas if they so choose. They can cut a deal with the EU if they do choose.