The Equalities Act 2010, Section 159, paragraph 4b makes it illegal for an employer to "have a policy of treating persons who share the protected characteristic more favourably in connection with recruitment or promotion than persons who do not share it" (
legislation.gov.uk/ukpga/2010/15/section/159)