Yeah, one night I was driving on a well-lit street when a police car coming in the opposite direction just blinked his headlights on-and-off at me, the same as any other motorist would to tell you your headlights were off. He didn't hassle me, he just helped me out.
That cop who gave your neighbor a ticket is a little man with a little power - a jerk, IMO.