... subject to such formalities, conditions,
restrictions or penalties as are
prescribed by law and are necessary in a democratic society, in the interests of national security, territorial integrity or public
safety, for the prevention of disorder or crime, for the protection of health or morals,...