That's not a defence against another person behaving questionably.
Anyway it's generally understood that there's differences in the appropriate behavior of men and women. For instance, it's okay for me to come up and piss next to a guy who's pissing but probably not okay for me to come up and piss next to a woman who's pissing.
So even if her behavior was accepted as reasonable however odd it was, it's not proof that every guy doing that would also be accepted as reasonable.
You're not responsible for the behavior of other people, but you do have to take into account other people's behavior (to the extent it's known to you) and your own past behavior, when you're deciding how you should interact with other people.
These aren't new ideas. They're the basic principles of manners that have always been part of our society. Criticise pushing them into law as much as you want: but don't act like they're coming out of nowhere and impossible to comply with or enforce.