It was clearly a punishment for acting like a petulant child.
Honestly, the alternative doesn't make much sense. If he just provided paper keys as a final insult, expecting them to be used, why shutter the entire service when someone called him on it? Why then wait two days past the start of the fines to pull the plug?
I'm not surprised that Levinson caught a contempt charge for printing the keys, although it's pretty ugly if he's right in his claim that he was denied a hearing to contest the charge, then denied appeal for his failure to contest it. But doing so seems less like a move to irritate people than a way to drag out the process without naked defiance.