The teacher has the custodial responsibility and so forth, but always remember there are at least two parties to these affairs.
I’m sure the boys had great fun but they’re at fault as well.
You cannot blame the child for being statutorially raped.