A court of Law may think otherwise.....

Hiring somebody who fits a specific demographic, and only a demographic is illegal.  Thats like a Hotel that hires nothing but White Men.

It would be ILLEGAL to do that.