Laws restricting basic freedoms may be made in the name of public order and national security, but they are often…