I know of a cohort that was chosen (from paper applications without interviews) by a well-intentioned selection committee that tried to put together a racially and ethnically diverse group. The cohort turned out to be more homogeneous than the selection committee assumed. The women with Spanish surnames were non-Hispanic white women who got their last names from their ex-husbands. And the group included whites who were assumed to be black because of their work on African or African American topics.
In the United States, race-based affirmative action was originally supposed to help underprivileged African Americans, Hispanic Americans, and Native Americans who faced a history of discrimination. The way I've seen it implemented in academia is sometimes at odds with those goals. But when some of the problematic aspects are discussed at all, it's often in whispers. Is this too dangerous a topic to talk about openly?
I've noticed that surprisingly often, the people who benefit from affirmative action are well-off white men from Spain or Latin America who didn't come to the United States until graduate school, or else people who aren't black or Hispanic but are assumed to be. They are usually valuable members of their workplace (who might or might not serve as role models, depending on the situation). But they are not the underprivileged Hispanic Americans or African Americans for whom affirmative action was intended.
If you question such choices, even to point out that more qualified African Americans and women were passed over, you risk being accused of racism for questioning an affirmative action decision.
Many years ago I heard from my father the journalist an anecdote about a radio station that got in trouble for discriminating against minorities. A consequence was that the station had to hire a minority applicant for the next job opening. Of the two finalists, the African American applicant was better. The other one was hired.
The people who ran the radio station reasoned that one couldn't tell from the black applicant's name or voice that he was black, so they wouldn't "get credit" for hiring a minority member.
The applicant they hired grew up as a white kid in an upper middle class white suburb. He used an Hispanic name when he applied for this job to take advantage of affirmative action. Even though he didn't grow up in an Hispanic culture and didn't know Spanish, the radio audience would think from his name that he was Hispanic, and that's what mattered to the bosses at the radio station.
Implementing only the letter and not the spirit of affirmative action policies is sometimes just laziness. Whatever your views about affirmative action, I hope you agree that we can do better.