(1) A person who is a judge or juror in a proceeding is not competent to give evidence in that proceeding. However, a juror is competent to give evidence in the proceeding about matters affecting conduct of the proceeding.
(2) A person who is or was a judge in an Australian or overseas proceeding is not compellable to give evidence about that proceeding unless the court gives leave.