Take your pick of legislation, whether discrimination or health and safety.
Employers are allowed to set dress codes, and those dress codes are allowed to be different for men and women.
Employers are allowed to set dress codes, and those dress codes are allowed to be different for men and women.