You generally have to have witnesses to prove sodomy, so it's more difficult than it sounds, you can't just arrest someone for being gay. If they entrapped him in a cruising sting, or arrested him as disorderly for socializing in public with other gay people, or convinced his close family to...