The judiciary’s right to investigate errant judges behind closed doors came square in the face with the executive branch’s subpoena power on Tuesday.

A case argued before the New Jersey Supreme Court tests whether a prosecutor can compel the Advisory Committee on Judicial Conduct’s chief investigator to testify in a criminal trial about statements made under cloak of confidentiality.