A Delaware Chancery Court judge has ordered Facebook Inc. to turn over a trove of company records to investors seeking to investigate potential wrongdoing related to the company’s alleged mishandling of user data, which has resulted in multiple privacy scandals and contributed to a historic loss in the social network’s market value.

Vice Chancellor Joseph R. Slights III on Friday said that the books-and-records lawsuit, filed last year by a New York-based pension fund, had produced at least “some evidence” that the company’s board and senior management had knowingly placed users’ information at risk and failed to comply with a 2011 consent decree mandating that better protect the data.