United Nations human rights experts have urged Spain's Senate to reject two proposed bills they say threaten fundamental rights and freedoms.

The five experts issued a statement Monday expressing concerned about the Public Security Law and the Penal Code projects and calling on Spain to take steps to guarantee fundamental rights and public freedoms.

The statement, issued in Geneva, said the Public Security Law, which it referred to as the "gag law," violates the very essence of the right to assembly.

The bill proposes the summary expulsion of migrants caught entering the country's North African enclaves illegally and hefty fines for protests outside parliament buildings.

The group said the ambiguity of the Penal Code reform could have "a chilling effect" on the freedom of peaceful assembly.