Group of 25 pan-democrats argued the mask ban contravened the Basic Law, the city’s mini-constitution.