The right to freedom of peaceful assembly is not absolute, and restrictions may be imposed. The main international treaties guaranteeing the right set out a similar strict test for restrictions (see Article 21 of the ICCPR, Article 11 of the ACHPR, Article 15 of the ACHR and Article 11(2) of the ECHR). Under this test, restrictions to freedom of peaceful assembly are only permissible when they: (1) are imposed in conformity with the law; (2) pursue a legitimate aim; and (3) are necessary in a democratic society, meaning that any restriction must comply with a strict test of necessity and proportionality.