I’ve been in a situation where a half dozen or so candidates are neck and neck. Subjectively, I would pick 2 or 3 for a second interview with my technical team. Their input would go a long way in making my final decision. Technical competence is only part of the equation. How well they would work with the rest of my team was more important.
Back to the bonus aspect. If I’m head of a government department and my bonus centers on the latest diversity goals, you can bet I will meet those goals. As to the consequences, since when has the government been accountable for actual results?