Peru’s government ordered telecommunications companies to grant police warrantless access to cellphone users’ locations and other call data in real time and store that data for three years, a decree that civil libertarians called an unconstitutional invasion of privacy.

The government published on Monday the legislative decree on a national holiday and a day before Peru’s independence day celebrations, when schools, government offices and most businesses are closed. Its contents were not debated in Congress and it was enacted under special powers that lawmakers recently granted to President Ollanta Humala’s government.