Judges agreed the prosecutor's summation to the jury was unfair.