A federal judge has ordered the International Consortium of Investigative Journalists to explain why it should not have to disclose, privately to the court, the identity of a confidential source who provided records for its investigation of Pornhub’s parent company, Aylo.

Aylo had sought to stop ICIJ from publishing a story based on court records. ICIJ argued that the Alabama federal court lacked jurisdiction over Aylo and that the requested injunction would be an unconstitutional prior restraint under the First Amendment. The court denied Aylo’s motion on Nov. 16, and ICIJ published the story that day.

U.S. District Judge Annemarie Carney Axon’s inquiry concerns a specific court record identifying victims of child sexual abuse, included in a larger collection of records the source provided. In a response filed on Nov. 23, ICIJ argued that the court lacks authority to compel it to identify its confidential source and that doing so would violate First Amendment protections for journalists.

The court said it wanted to prevent further circulation of the victims’ identifying information. ICIJ said it shares that concern, has restricted access to the document and will not publish, disseminate or share it. The investigation did not disclose identifying information about victims.

ICIJ reporter David Kenner approached Aylo for comment after obtaining the records. They had been filed in a class action lawsuit against Aylo-related companies, which alleged the companies knowingly and unlawfully profited from child sexual abuse material. The documents were supposed to be sealed but were inadvertently made publicly available through the court’s electronic records system, where they remained for eight months. ICIJ later obtained copies from a confidential source.

The records formed the basis of an ICIJ investigation into how Aylo’s profits were built in part on allowing “some of the most heinous material on the internet” to remain on its platforms despite warnings from victims and law enforcement.

ICIJ said it will vigorously defend source confidentiality and press freedom. The organization said disclosure, even only to a judge, would compromise confidentiality and could set a dangerous precedent. It also said sources may face substantial personal risks when sharing information in the public interest, and that legal challenges divert resources from investigations.