Unfortunately, same-sex is no guarantee of "pure intentions" or lack of "taking things the wrong way". The only way to do it (IMO) is to make sure all contact is observed or monitored (e.g. chaperoned by someone in a position of equal or higher responsibility). Sex of the teacher vs. student doesn't go far enough these days.
Sadly, too true.