The judge on Friday had found the defendants guilty of rioting and attacking police at a protest on May 6, 2012, the day before President Vladimir Putin returned to the presidency after a stint as prime minister.