Last fall, out of public view, the North Carolina Supreme Court squashed disciplinary action against two Republican judges who had admitted that they had violated the state’s judicial code of conduct, according to three sources with direct knowledge of the decisions.

One of the judges had ordered, without legal justification, that a witness be jailed. The other had escalated a courtroom argument with a defendant, which led to a police officer shooting the defendant to death. The Judicial Standards Commission, the arm of the state Supreme Court that investigates judicial misconduct by judges, had recommended that the court publicly reprimand both women. The majority-Republican court gave no public explanation for rejecting the recommendations — indeed, state law mandates that such decisions remain confidential.