Just execute him and be done with it.
I agree, but first he needs to drop his soap in the prison shower while there are half a dozen perverts in there. A week or so of that treatment and he'll probably off himself.
Unless of course, if he already likes that kind of stuff, then they could hook up some electrodes to the nether region and crank up the voltage.