The court said the stringent law should be invoked only with great caution and in clear cases involving threats to public order.