German comedian Jan Boehmermann will seek to reverse a court-issued injunction that prohibits him from reciting parts of a poem that insulted President Recep Tayyip Erdogan.

His lawyer, Christian Schertz, said Wednesday that the Hamburg-based court's decision to grant Erdogan's request for an injunction is "blatantly wrong" and based on "technical errors."

Schertz told dpa he will file an appeal against the injunction and push for a decision from the Constitutional Court if necessary, Schertz added.

Judges in Hamburg decided Tuesday that Boehmermann's poem is satirical and therefore subject to artistic freedom, but that it contains sexual references about Erdogan that are "slanderous and defamatory."

"You also can't cut up a painting and only allow parts of it to be shown," Schertz said Wednesday.

Aired on March 31 by public broadcaster ZDF, the poem accuses Erdogan of watching child pornography and performing sex acts with animals, but also satirizes some of the president's authoritarian policies.

If Boehmermann fails to respect the injunction, which is applicable across Germany, he can be fined up to 250,000 euros (282,000 dollars) or jail time of up to six months, according to the ruling.

The court said its decision was based on balancing freedom of opinion and artistic expression on the one hand and the personal rights of the plaintiff on the other.

The German courts system allows the plaintiff to choose in which court to file its complaint. The court in Hamburg is known for being particularly strict in defamation cases.

"The court has found that the statements in the poem are undeniably slanderous and defamatory and that it is not a question of taste," Erdogan's German lawyer, Michael von Sprenger, said after the decision was announced.

Separately, Chancellor Angela Merkel last month granted a request from Erdogan to criminally investigate Boehmermann under a little-used law against insulting foreign heads of state.

Prosecutors have not decided whether to file charges. A spokesman for their office in Mainz on Wednesday declined to comment on whether the Hamburg court's decision would influence the criminal proceedings.

Both cases have prompted a debate in Germany about the limits of free speech and Merkel's relationship with Turkey as she seeks to enlist Ankara in her bid to end the refugee crisis that saw 1.1 million migrants enter Germany in 2015.

Latest news

At least 20 injured in Serbian ammunition factory blast

At least 20 persons were injured in an explosion at the ammunition factory in the central Serbian city of Kragujevac on Tuesday, public broadcaster RTS said in the afternoon.

Germany calls in Turkish ambassador over detained reporter

German Foreign Minister Sigmar Gabriel called the Turkish ambassador into the Foreign Ministry in Berlin on Tuesday for talks over German-Turkish journalist Deniz Yucel, who was remanded in custody in Turkey.

Ukrainian minister wants to remove blockade of rebel-held east

Ukraine's Interior Minister Arsen Avakov said Tuesday that he has requested permission for the police force to disband an activist-enforced blockade of the country's rebel-held east.

Israeli police nearly finished evicting West Bank settlement

Israeli police were nearly finished evicting an Israeli settlement in the West Bank slated for demolition on Tuesday as they pulled dozens of protesters from the last of nine houses.

Serbia to hold presidential election on April 2 - media

Serbia will hold a presidential election on April 2, and the vote will be formally called by Parliament Speaker Maja Gojkovic on March 2, media in Belgrade said on Tuesday.

India to remain fastest growing economy despite demonetization

India's economic growth fell to 7 per cent in the quarter ending December, taking a hit from the government's recent demonetization move, but the country remains the world's fastest growing major economy.

Investigating judge lifts precautionary measures on ex-Dinamo boss

A Zagreb County Court investigating judge on Tuesday lifted the precautionary measures that had led to the pre-trial detention of former Dinamo Zagreb Football Club manager Zdravko Mamic and if the decision becomes final, Mamic will also be paid back 14 million kuna (2 million euro) bail.

Erdogan lashes out at newspaper over report on military unrest

Turkish President Recep Tayyip Erdogan on Tuesday slammed Hurriyet newspaper over a report saying that military top brass was "restless" over criticisms against its leadership.

Serb ministers end boycott of Bosnian government

Serb ministers in the Bosnian Council of Ministers on Tuesday attended a session of the body, ending a boycott they began last week because of a request to revise an International Court of Justice ruling Serbia of genocide.

As Europe hardens its line on migration, children bear the brunt

The number of children arriving on their own in Europe doubled in 2016, and is set to increase this year. But the response by governments has not matched the need, pushing some into criminality and prostitution.

China considers subsidies for second child

The Chinese government is mulling paying parents to have a second baby, a year after it did away with its controversial one-child policy, state media reported Tuesday.

Business group urges Britain to delay Brexit if negotiations stall

The British government should push to extend Brexit negotiations if it is unable to agree a deal on leaving the European Union within two years, a business group said on Tuesday.

At least 1,500 child soldiers ensnared in Yemen war, UN says

Some 1,500 boys have been verified as child soldiers in Yemen, but the actual number of children who have been drawn into the war is probably far higher, a UN spokeswoman said Tuesday.

President says Croatia tolerant, marginal groups shouldn't be given attention

President Kolinda Grabar-Kitarovic on Tuesday condemned the frequent incidents motivated by hate and intolerance and said marginal movements and isolated cases should not be given too much attention.

Austria identifies US-based Turk as source of cyberattacks

A string of cyberattacks against Austrian institutions has been linked to a Turkish suspect operating out of the US state of Kentucky, an Austrian newspaper reported Tuesday, citing an investigation by the army's intelligence agency.

Italy restores, returns IS-vandalized busts to Syria

Two ancient Roman busts, which were transported to Italy after being vandalized by the Islamic State extremist group in the Syrian city of Palmyra, have been restored and returned to Damascus, the Italian ministry of culture said Tuesday.

Norwegian state pension fund almost doubles return in 2016

The Norwegian state pension fund reported a return of almost 7 per cent in 2016 on the back of strong stock markets in the second half of the year, the Scandinavian country's central bank said Tuesday.

Croatian PM says sports needs to be given back to athletes

Commenting on an ultimatum the Bridge party made on Monday when it asked for a replacement of the Croatian Football Federation (HNS) leadership, Prime Minister Andrej Plenkovic said on Tuesday that "sports needs to be given back to athletes."