It varies from court to court, but in general the judge has the responsibility of evaluating whether public interest outweighs rights to privacy for any given piece of recorded court information. I'd imagine it is an ethical issue, but the judge has the authority to evaluate the ethics and reach a decision.