Many times cities have ordinances that become crimes and people; including juveniles can actually be committed on the City Ordinances.  A lot of the times they are written imperfectly or unconstitutionally with the US Constitution or the Massachusetts Constitution and there are ways that are overbroad or too far reaching and many times you can actually get the clauses found to be unconstitutional and explained why they are written poorly.  It is an important thing for your lawyer to do on a criminal case, with any City Ordinance is too make sure that it meets the Due Process in both state and constitutional protections.