I think Burger bribed the jury by way of Pete. Burger's goal is to become DA, and it's been clear throughout the series that he believes his best shot for doing this is by making Barnes look bad... I mean, that's part of why he coached Mason on the bar exam, right? And Perry wouldn't bribe a jury, I think.