Latin for “no one should be a judge in their own cause”. It is one of the cardinal rules of natural justice that no one should act as a judge a case in which they have a personal (vested) interest.
Judges who find themselves in such a situation ought to recuse themselves, ie step aside and allow the case to be transferred to a different judge.