The offending law? This;
s.167 Allocation in accordance with allocation scheme
(1) Every local housing authority shall have a scheme (their “allocation scheme”) for determining priorities, and as to the procedure to be followed, in allocating housing accommodation.For this purpose “procedure” includes all aspects of the allocation process, including the persons or descriptions of persons by whom decisions are to be taken.(2) As regards priorities, the scheme shall be framed so as to secure that reasonable preference is given to—(a) people occupying insanitary or overcrowded housing or otherwise living in unsatisfactory housing conditions,(b) people occupying housing accommodation which is temporary or occupied on insecure terms,(c) families with dependent children,(d) households consisting of or including someone who is expecting a child,(e) households consisting of or including someone with a particular need for settled accommodation on medical or welfare grounds, and(f) households whose social or economic circumstances are such that they have difficulty in securing settled accommodation.