'Should be nowhere near any workplace': Court confirms dismissal in sexual harassment case