Whenever any judge of any court of this state is a witness in his official capacity as judge in any action or proceeding, such judge shall be entitled to be represented at such action or proceeding by counsel of his choice.
(Added by Stats. 1971, Ch. 841.)