Sentences that fit the crime can be great—the polluter who has to pick up litter, the vandal who has to clean graffiti off the wall.

But this? According to the Times-News in Twin Falls, Idaho, 5th District Judge Randy Stoker told a 19-year-old man who pleaded guilty to statutory rape that while on probation, he’s not allowed to have sex with anyone unless he’s married.