The protesters also succeeded in having a judge cast aside certain defenses the city and officers tried to use.