Adversarial lawyers argue for their clients in front of an impartial judge; that's how it works.  

Clients are free to choose the lawyer whose views align with theirs, if that's important to them.  They don't get to pick the judge.