The U.K.'s Investigatory Powers Tribunal ruled Thursday that the government must confirm it issued a secret order demanding Apple provide encrypted customer information to authorities. The tribunal rejected the Home Office's argument that disclosure would damage national security.

The order, called a "technical capabilities notice," was issued roughly a year ago and demanded Apple build a backdoor to allow U.K. access to customer data globally. Details leaked to media, drawing criticism from White House officials and U.S. lawmakers concerned about American privacy. Apple refused the initial order and blocked U.K. users from enabling Advanced Data Protection for iCloud rather than comply.

The U.K. government later narrowed the order to allow access only to British nationals' data in Apple's encrypted cloud. Apple challenged this revised demand as well.

Prior to the ruling, Apple faced legal restrictions preventing it from disclosing the order even after details became public. Apple told TechCrunch it welcomes the tribunal's decision to make the notice public. The company has previously stated it "never built a backdoor or master key" to any products or services and "never will."

Rights group Liberty International, which brought the legal challenge on behalf of two individuals, said this marks the first known instance where the government faced compulsion to confirm a secret technical order's existence.

The U.K. Home Office has not yet confirmed the notice exists. A final hearing on which specific order details can be released is expected next year.