It is treating people differently based on the damage that they can do to you. Generally a woman accusing you of being sexist is will do more damage than a man doing the same (not universally, but usually). So while the outcome is equivalent the decision is based on the very real threat, not the gender.