The court criticised the government's approach towards public demonstrations, saying it appeared to treat citizens as adversaries.