Addressing a ceremony to mark the legal year, Cheng said it's fine for people to make comments and discuss court decisions as long as they do so rationally and objectively and within the boundary of the law, but some of the remarks made recently were "nothing like that".

She added that doxxing against judges must be curtailed, saying “as the guardian of public interest”, she obtained an injunction order a couple of months ago to stop such activities.

In the ceremony, she also mentioned that the central government has always had the power and duty to enact laws on national security matters, hitting out at "baseless challenges" against Beijing's introduction of the national security law in Hong Kong.

“It is entirely misconceived to say that the principle of ‘one country, two systems’ has been undermined by Beijing's move, especially when the SAR had been unable to fulfill such responsibilities,” stressed Cheng.

The secretary for justice also mentioned that when enacting the anti-mask law under the Emergency Regulations Ordinance, she agreed with the court that when striking a fair balance between the societal and individual interests, the interests of Hong Kong as a whole is important.

“Rights and freedoms are not absolute but are subject to lawful restrictions including the interests of public safety, public order and the protection of the rights and freedoms of others,” she added.