See my reply above - even with free movement, there's plenty of cases where you can deny someone entry. Right to free movement is not absolute, and UK is in a fantastic position because it can inspect every single person coming here, unlike for example Germany.