This principle is well established in all other areas of business, and we recoil in horror when it is violated. You wouldn't hire a lawyer who was also representing the person who's suing you. Judges (with the abominable exception of Supreme Court justices!) are required to recuse themselves when they have a personal connection with either of the parties in a case they preside over.