Sounds like you were ripped off by a person with a badge, do you pay fines directly to police officers in America?
Yep, it was a shakedown.