A Canadian man was infamously arrested for waving a Canadian flag during an Indigenous protest. He sued the police, and won at the Supreme Court of Canada in 2019.
This is an actual quote from the Supreme Court of Canada:
"As there is no common law power to arrest someone who is acting lawfully in order to prevent an apprehended breach of the peace by others, the police in this case did not have lawful authority to arrest F. The trial judge specifically found that F had not done anything unlawful before being arrested; there was no evidence before her that he had committed any offence in walking along the street, entering the occupied property or standing there with his Canadian flag."