This shouldn't be the job of HR either.
What you describe is what civil courts are for. From societal perspective, it is their exact purpose: to dispense justice and prevent revenge. If they don't work, they need to be made to work, instead of relegating this function to random people with random training and random incentives following random policies that are ultimately designed to safeguard companies, not employees.