Denmark on Friday said it plans to ban Koran burnings after a string of desecrations of Islam's holy book in the Scandinavian nation sparked anger in Muslim countries.
Denmark stepped up security earlier this month following the backlash, as did neighbouring Sweden which has also seen a spate of Koran burnings in recent months.
The Danish government intends to "criminalise the improper treatment of objects of significant religious importance to a religious community," Justice Minister Peter Hummelgaard told reporters.
He said the proposed legislation was aimed especially at burnings and desecrations in public places.
Hummelgaard said Koran burnings were a "fundamentally contemptuous and unsympathetic act" that "harm Denmark and its interests".
The new legislation would be included in chapter 12 of Denmark's penal code, which covers national security.
Hummelgaard said that national security was the main "motivation" for the ban.
Nearly a thousand protesters attempted to march to the Danish embassy in Baghdad's fortified Green Zone in late July, following a call by firebrand cleric Moqtada Sadr.
"We can't continue to stand by with our arms crossed while several individuals do everything they can to provoke violent reactions," Hummelgaard said.
Sweden and Denmark beefed up border controls in early August as a result of the reactions. Denmark ended the measure on August 22, though they remain in place in Sweden.
The proposed Danish legislation would also apply to desecrations of the Bible, the Torah or, for example, a crucifix.
Those who break the law risk a fine or up to two years in prison.
The law will however not encompass "verbal or written expressions" offensive to religious communities, including caricatures, the justice minister said.
He stressed Denmark remained firmly committed to its freedom of expression laws, amid criticism from several opposition parties who fear a ban would infringe on those.
Enormous anger
The ban, due to be presented to parliament on September 1, comes six years after Denmark abolished its 334-year-old blasphemy law.
The bill is expected to pass through parliament, where the left-right government holds a majority.
Danish Foreign Minister Lars Lokke Rasmussen said Friday the Koran burnings had sparked "enormous anger in the entire world."
"We have made great efforts to contain this anger. At the moment the situation is fairly calm, but it's also uncertain and unpredictable," he told reporters.
He said that in the "short term, we'll probably see more Koran burnings rather than less" before the new law goes into force.
In 2006, a wave of anti-Danish anger and violence erupted in the Muslim world following the publication of caricatures of the Prophet Mohammed.
Sweden last week heightened its terror alert level to grade four on a scale of five after the Koran burnings made the country a "prioritised target", security services said.
The Swedish government has condemned the desecrations of the Koran while upholding the country's constitutionally protected freedom of speech and assembly laws.
It has vowed to explore legal means of stopping protests involving the burning of holy texts in certain circumstances.