For example, deportation is a civil action, not criminal. That means that to exile you from your home the government does not need to prove their case beyond a reasonable doubt, does not need to provide you with legal representation if you can’t afford a lawyer, and the procedure takes place in an administrative court. There have been numerous cases of small children representing themselves in deportation proceedings. And this was all before the current administration.
The point of a bogus database is to give them cover for arresting, imprisoning, and deporting anyone they wish to.