N.D. Cent. Code § 44-04-18.11 (2025)
1. Unless disclosure under a court order is otherwise prohibited or limited by law, closed records must be disclosed pursuant to a subpoena issued by a court, administrative law judge, or administrative hearing officer, or other court order.
2. Unless disclosure under a court order is otherwise prohibited or limited by law, confidential records must be disclosed pursuant to a court order. Upon request of the public entity ordered to make the disclosure, the court ordering the disclosure shall issue a protective order to protect the confidential nature of the records.
3. Any person who discloses confidential records of a public entity under this section is immune from prosecution for violating section 12.1-13-01.