Sex requires consent. And consensual sex is not a crime.
Underage girls cannot give consent.
So it’s not “sex” the dance teacher is accused of, it’s abuse.
In the same way that giraffes and calculus are different things, sex and abuse are two very different things.