I suspect your politeness and agreeable attitude won the day with the cop. Well done. You may have helped him/her see that cyclists aren't necessarily two-dimensional stereotyped anti-authority jerks. In my experience, very few cyclists are problem people, but somehow the few who are get all the attention.