That's what happens when you don't have mandatory id system and want to enforce immigration policy -- government just does whatever bullshit sticks and there is no carefully crafted set of safeguards and procedural rules to slap it for doing too much.
> remember reading years ago about how facial recognition was particularly bad at correctly identifying people with darker skin
I would imagine that for current administration it's not a bug, but a feature.