This is definitely something I saw prevalent in the hiring world: if it isn't outright illegal, use it to prevent someone from being hired. In many cases we had clients that'd tiptoe the line and ask if certain reasons would be valid for rejecting a person, and some HR managers were upset when they learned it was against the law to disallow someone who had admitted their criminal history from being hired. So they found another reason.
There is still a massive amount of hiring discrimination. It's just not the "official" reason anymore since that'd be illegal. That job was soulbreaking.