If a judge knew that the guy would be very likely to face abuse (e.g. rape) in prison, and sent him there anyway, any chance that that would be a violation of the criminal's 8th amendment rights (cruel/unusual punishment)? Just throwing that out there.