Nor was justice being served at any point. Depending on the terms of the employment contract, firing anyone is just business as usual.
The problematic part is that sexual harassment is a crime though. Both the act and accusation warrant court. Not to fire someone from their job, but to prosecute them under criminal law.