Science can tell you the way things are, but not how they should be. There might be biological sex differences related to intellectual capacities, sure. But what we are certain of is that humans in general operate with irrational biases and prejudices, such that even in the absence of such differences, people will be treated unfairly.