I don’t know the ins and outs of the law mate. But I’m sure it’s frowned upon if not actually against the law for people in a position of authority to have sexual relationships with students under their control, even if they are adults.
Maybe it’s a standard condition of their terms of employment. I don’t know.
My one and only point is that is why the guy got sacked. Rightly or wrongly. And not because of a spurious claim of racism from a player looking for revenge because she wasn’t getting in the team, as is regularly churned out.