germany
In Germany, like in many other countries, in principle the employer is liable for mistakes made by an employee while performing their duties:
The obligor is responsible for fault on the part of their legal
representative, and of persons of whose services they avail themselves
in order to perform their obligation, to the same extent they are
responsible for fault on their own part. The provision of section 276
(3) does not apply.
BGB (German civil code), sec. 278
This is referred to as Arbeitgeberhaftung ("employer liability"). However, this liability is limited by, among other things, BGB (German civil code), sec. 831:
A person who deploys another person to perform a task is liable to
provide compensation for the damage that the other unlawfully inflicts
on a third party when carrying out the task. Liability in damages does
not apply if the principal exercises the care required in business
dealings when selecting the person deployed and, to the extent that
they are to procure devices or equipment or to manage the business
activity, in such procurement or management, or if the damage would
have occurred even if this care had been exercised.
So, in plain language:
- The employer is generally liable for employees' unlawful acts, no matter whether they were accidental (mistakes) or intentional.
- However, this only applies to actions required or directly connected to carrying out their assigned tasks.
- Also, the employer can avoid liability by exercising care when selecting the employee, or proving that the damage would have occurred even if this care had been exercised.
So, Mr Gooner's actions would probably fail both of the criteria listed above:
- his actions (harassment) were not directly connected to their task, and
- the employer has demonstrated sufficient care when selecting the employee
Of course, a court might see this differently - so there is no way to tell for sure. For example, there is some debate on how closely linked the employee's assigned task and the unlawful act need to be (see e.g. Die Haftung für den Verrichtungsgehilfen, § 831 BGB - some opine that it is enough if the assigned task provided a helpful opportunity for the unlawful act, even if the act itself was not part of the assigned tasks).