Landmark decision marks the first time Hong Kong’s top court rules on a case relating to sweeping national security law.