I have been pulled over and my car searched a couple of times. Once the cop was a dick and said he found traces of weed on my floor. I told him it was dirt then he insisted it was weed, I told him I would gladly take a piss test then he looked at me and said "it's not enough to charge you for".
The other time I had a butterfly knife in the car, he asked why it was in there and I told him (the truth) that I had installed a car stereo in the truck the week before and used the knife to strip the insulation. He got a good laugh out of it when I told him the knife belonged to my mother. He told me to put it in the bed of the truck until I got home then put it away.
So I guess like most people I have had good and bad experiences with police. Sounds like this guy had a really bad expirence, and that officer needs repremanded so he understands he is no better than the average joe walking down the street just because he has a badge.