A military judge shall be a commissioned officer of the armed forces who is a member of the bar of a Federal court, or a member of the bar of the highest court of a State, and who is certified to be qualified for duty under
section 826 of this title (article 26 of the Uniform Code of Military Justice) as a military judge of general courts-martial by the Judge Advocate General of the armed force of which such military judge is a member.