IT expert wins dismissal case following racist attack