How is treating people equally "not even close" to complying with those laws? I feel like I'm misreading to your comment, but it seems like treating people equally is exactly the point of those laws.
Or, to use an analogy, consider interviewing someone who, when asked about their preferences and strategies for ensuring code quality, answers "I just write correct code in the first place". Even if they're correct in that statement, that's not the sort of person you want in charge of that subject, because most people don't work like that, even if they wish they could.