Diversity officer guilty of racism after telling colleague ‘you must have been oppressed’