To clarify, in case you're interested: the ethics violation was that the judge discussed the deal with the DA without defense present. Basically, the DA's own office made the deal, then the DA convinced the judge not to honor it, essentially tricking Polanski into pleading guilty.* Setting aside the crime or the…