In a precedent-setting ruling, a Hong Kong judge said reporting restrictions must be lifted around some national security cases