Give us a hint: was it legal pre-1965?
Was that exactly what HR said? Who knows. But it affected that hiring round.
(1) Does such a dynamic exist?
(2) If so, what's the right way to deal with that fact during hiring?
It's harder to have a meaningful discussion if those two things are conflated.