Right, because software famously has zero bugs, and whenever people bypass the buggy system to help you out, they should be punished. Sounds like a great society.
the common sense thing to do would be to allow the customer with a valid boarding pass to board, and also proactively alert security to check the plane, just in case it’s not a software glitch.