That’s what happens when you let the bean-counters run the company.
I think it is what happens when you let the HR Department run the company. Diversity scores trump merit.