I just want to point out, why he is NOT a dickhead. He did not give you a ticket, he may have given you a hard time but given the sound of your post you deserve it.
Be thankful you didn’t get a ticket. Here’s something to rant about. My gf getting pulled over by a cop at 7am this morning because he said she ran a red light when the light was green. BS in my eyes but no ticket, so no harm done.