> very much illegal in the UK.
I question this. Neither I nor Wikipedia should be used for legal advice, but there are exceptions to discrimination law, and the parent's comment seems to precisely meet one of them:
https://en.wikipedia.org/wiki/UK_employment_discrimination_l...