Are sex and gender the same? Is gender immutable and fixed or subjective?
For the most part, employers have a pretty broad prerogative to tell employees what work has to be completed at any given time -- and many jobs have an element of danger that has to be managed on a daily basis. It's impossible, for example, to work on a construction site without recognizing that there is some danger associated with simply being there. Your employer's rights, however, stop where imminent danger begins.
Did the former personnel chief of a federal agency treat his office as like a private hunting ground for women? Did he create a culture that treated women as mere objects -- many hired on solely because they were viewed as attractive possible partners for the personnel chief and his friends?