Even kids have the right to ignore truly stupid cops who make up code sections prohibiting whatever he/she/it arbitrarily and capriciously wants to define as an infraction worthy of an arrest.
Those cops, by definition, slipped through the cracks when satisfying basic psychological requirements for the job, and should be doing something else.
Unfortunately, once they engage you (most seem to be pit bulls who just lock on to a victim) the only proper resolution is to go see the judge (with all the baggage the judges carry for the cops).
http://www.youtube.com/watch?v=08fZQWjDVKE