These things shouldn't be considered a crime in the first place, and I asked for real examples. I won't turn down a candidate for my sw dev position because they used to be a prostitute.
HR will also filter out candidates without an university (sometimes even specific, expensive ones) and you're not complaining about that. What about fixing HR instead?