The thing (well, one of the things) I keep coming back to is that human beings did this: someone who works in the passport office had to press the buttons, or if it was automated, a software engineer had to implement the "business logic" to enforce this.
Either way, someone had a choice: do I go along with this, do I help enforce this order, am I a willing instrument of this violence? Or do I refuse, resign, or otherwise resist?