a couple of times. once i was riding with a friend and a cop slowed down to my speed to tell me to get lights, but didn't stop or pull me over. later that night, i was waiting at a red and got tired of waiting, and just went through. not much later, i notice my surroundings are kind of flashing blue and red. i keep going, like i don't see, and then the guy pulls up to me and says "pull over". i just told him it's legal for a bicycle to proceed through red lights if there's no cross traffic in idaho, and i was used to that law. that part about if being legal is true, but i ran the red out of impatience, not habit.
then there was the time i was looking for a store on the left one night, so i was riding in the left lane, and not as fast i could. a cop pulled me over for lights. he told me while i was legally in the right to take the lane, since i'm unlit, there was danger to me. he told me he rides, too, and just told me to get some lights and be safe. it was pretty cool...also made me think that maybe every now and then cops really are just looking out for our own good.