"Neither Section 5D nor any other section of the Code prohibits a judge in the exercise of administrative functions from engaging in planning and other official" . . . .