It's a matter of legal accountability. If companies get away with defending the harassers, then that's what the cynical ones will do. Only if they get punished when they handle sexual harassment cases badly, will they start handling them better. Companies should be liable for extra damages in sexual harassment cases when it turns out they have a history of protecting the harassers. And maybe punish the individuals involved in protecting the harassers.