And you wonder why they throw rocks and shoot fireworks at riot squads? They don't want they police anywhere near them!
That is flawless logic. Do something extremely illegal and the cops will leave you alone.
Also, even though they have their right to peacefully protest, they also have to obey the laws set in place by the city/state they are protesting in. If the city/state has a rule that says they need to be out of the park after 10pm(or any other time or any no tents allowed or no relieving themselves) they are supposed to leave the park at that time or face possible police intervention.
It is a relatively simple concept protest peacefully and obey the laws and the cops should leave you alone. I would feel bad for them if they were doing this, but they are not for the most part.
407. Whenever two or more persons assemble together to do an
unlawful act, or do a lawful act in a violent, boisterous, or
tumultuous manner, such assembly is an unlawful assembly.
408. Every person who participates in any rout or unlawful assembly
is guilty of a misdemeanor.
That is how California defines an unlawful assembly. From what I have read it seems like at times Oakland has been an unlawful assembly which gives the police the right to break it up.