Shaking my head here...It's very simple: have a competent HR department.
a. The alleged dickhead does something.
b. The alleged victim feels comfortable taking the issue to HR.
c. HR does a complete, impartial investigation listening to both sides and taking all factors into consideration.
d. HR recommends a course of action. In almost every initial case, this means an informal mediation between the two individuals led by a trained mediator.
e. Company leadership follows the HR recommendation.
By the way, this is what most American companies do. It's not rocket science and there's no need to re-invent the wheel.
(I haven't had any real job with an HR department so I have no direct experience myself.)
So in the interests of controlling risk, encounters with HR are to be limited.
But yeah, I am really just trying to make a broader point that I think people should just part ways when they have personal disagreements, rather than sue one another. And I think the law should reflect that expectation, rather than working the way it works now.
It is a reductio ad absurdum (having all-male or all-female companies is the absurdum).
Much better to just not hire any females, or to have an all-female company and not hire any males.