Dude did an awesome job standing up for his rights. Getting cops to back down like this is the best feeling in the world.
Even better when you get them in trouble and they are actually held accountable. Hope this officer got a nice long chat from his supervisor.
I remember one time in Michigan I ran into a particularly aggressive cop and "disciplinary action" was taken on him.

Been arrested a couple times and they always end up backing down and apologizing when they find out you know your shit.