The carnival should not be used "for the banalization of barbaric events", the judge said.