That stinks. In that case, I think you'll be wasting your money with a lawyer, since it sounds like the violation actually occurred (and they're expensive).
Another tactic that worked for my father in a similar situation (out of area, not NYC), was writing the judge, explaining the circumstances, and asking for a dismissal. You're already looking at a probable Guilty verdict, IMO, so I don't think you have much to lose.