Court prohibits police from wearing balaclavas and masks during demonstrations