Immaterial.
The protesters were in violation of local ordinance.
Any local law that directly contradicts the Bill of Rights is illegal and unconstitutional.
That has to work it's way up to the Supreme Court, if you are lucky, and that is a matter of lengthy Due Process, and Still, the Court is the Last Word. Inciting Riot, Insurrection, are not Constitutionally Protected Rights, they are Hurtful to Everyone involved.
Part of the applied Theory behind Civil Disobedience, where matters of Conscience, Principle,take Precedent over Ordinance, is doing the Crime, Submitting to the Authority, be it Ticket or Arrest, and having your day in Court. You accept the Judgement of the Court. Do the Time, Pay the Fine, what ever suits you. Assaulting the Police puts you and everyone around you in danger. There is no place for violence at a peaceful protest. Study, King, Gandhi, Thoreau, Locke.