Dozens of arrested protesters appear in court