The government's EU leaflet: borders
9th May 2016
“The UK is not part of the EU’s border-free zone—we control our own borders which gives us the right to check everyone, including EU nationals, arriving from continental Europe”
This means it can check passports at its borders and refuse entry to people without any valid identity documents, including EU nationals. This isn’t the same as saying the UK can refuse anyone from other EU countries, if they do have valid documents. The UK also cannot directly control levels of immigration from other EU countries.