Hungary's Supreme Court has ordered the retrial of three anti-gay protesters convicted of attacking police guarding the Budapest Pride march in 2011 because it considered the sentence too lenient.

A statement Wednesday from the Kuria, as the court is now called, said the sentence condemning the unidentified defendants to community service did not fit the crime in which two of them threw cans and full plastic bottles at police while a third person hit and pushed police body armor.

The defendants had been charged with group violence against officials, which carries a sentence of up to eight years in prison.

At the same time, however, the Kuria said that prosecutors had failed to prove that the defendants acted together as a group.