Actually NYC police have been handing out spitting tickets. If you don’t pay you get a warrant and the costs quickly add up...
My coworker was watching his daughter play with her classmates from the vacant playground with other mothers. They gave all the parents (even with proof their kid was over the fence) tickets for being in the playground without a kid. Similar to spitting they just want $$$. But if you don’t pay then it becomes a warrant and future nightmare....
I suspect if your response was “Yes, officer, you’re right, I’ll be more careful from now on.” no ticket would issue. See Chris Rock on the subject.
https://www.youtube.com/watch?v=igQDvYOt_iA
Chicago they have $150.00 ticket for everything. Spitting, flicking cigarette, riding bike on sidewalk, if you don’t pay on time they hand it to a collection agencies with total of $600.00. In the meantime thugs run rampant on the subways.