The N.C. Supreme Court has reversed the N.C. Court of Appeals and determined that a database collecting criminal records from courthouses across the state does not have to be treated as a public record.

The ruling goes against data-collection company Lexis/Nexis, which had argued that a copy of the database should be treated as a public record.