If it was me that got the ticket for the illegal turn I would have gladly taken it since I was in the wrong for doing it.

If the officer felt it was his duty at the time to remind me about the possible illegality of using fireworks I would thank him for the warning.

If he truly started preaching to me about the dangers of fireworks and I felt the lecture was demeaning or inappropriate I would probably help him out by remaining him doughnuts are bad for him or make sure he knows the dangers of tucking that radar gun between his legs.