A man will face court for allegedly waving a flag associated with a terrorist organisation during a protest.