Sexual offences, such as rape, are rooted in power and aggression not on libido. Drugs or surgical castration does not prevent an offender from exercising their power in non-sexual ways or sexually violating with fingers or objects. Indeed, preventing someone from getting an erection might make them even more keen to exercise their power over vulnerable victims.