Why would it lead to more than them getting fired? What would be the crime? If the idea is that they've coerced/raped a prisoner, presumably that prisoner is making that allegation, and it's the rape allegation that gets investigated/tried, as with any other serious allegation of a crime. If it's consensual, that sounds like they're just not trustworthy to do their job and should be let go.