There isn't any analogy. It's an example of how someone can be guilty as hell, but still the public nevertheless believes the tactics used to expose that guilty-as-hell person are unacceptable.
To what tactics are you referring in the Craig case? Sgt. Karsnia appears to have simply been sitting in a stall and observing Craig’s attempts to solicit him. I don’t see anything wrong with observing such misbehavior and then arresting the person misbehaving. Frankly, if a guy ever shoved his foot under the wall of my stall and bumped my foot, I’d stomp on his foot since there wouldn’t be much doubt about why he did it.