A UK tribunal made the government admit its secret order to Apple. Trade secret law has the same rule: a secret you don't keep stops being one.
The Investigatory Powers Tribunal made the UK confirm its secret encryption order to Apple. Officials had briefed the press, so the secret no longer held.