It's true that they may serve their intended purpose. But only by exposing innocent people to needless risk. Isn't there a better way to achieve the intended purpose?
For example, could the same not be achieved by passing a law allowing the government to revoke the citizenship of anyone who meets these criteria?
edit: Or perhaps a better UI? For example, this is just a checkbox you could accidentally tick. Perhaps it would be made a little harder - raise a warning perhaps? The real problem i think is that visa authorities can design the worst UIs and get away with it since they are an effective monopoly.