Why didn't they use a jury in the second episode of the first season but the judge ruled not guilty?

General criminal cases are to be decided by a jury, but most civil cases do not have to, and criminal cases in which the parties have the right not to have a jury, remember that one episode of the show is the two sides in the courtroom to debate in the end need for a jury, the defendant if you feel that a jury is detrimental to their own, you can apply for a do not want to, but also the two sides of the lawyers debated the final decision by the judge. Totally amateur realization. Call the professionals