nothing illegal about that
they are cops, they are exempt from this law since in fact they represent the emergency services the law is intended to support. if a cop is on duty and wants to go in and get a coffee then by all means park there, they need to be as close to their vehicle as possible if something were to happen cuz lord knows if they got a call and had to walk two blocks to their car people would bitch about taht
it's no different than if a cop pulls into a shopping center and parks in a no parking zone ... he's a cop, thats one of the perks
dudes a total asshole, hope he gets popped in the face