The judge said the state appeared to view citizens as enemies when dealing with requests for protests and processions.