A girl who was sexually assaulted at school has been put in the same class as her alleged attacker.