Iran's foreign ministry on Monday summoned Germany's ambassador over tweets condemning the execution of a wrestler, accused of murdering a man during a wave of anti-government protests in 2018.
The ministry "strongly condemned" the tweets and told German envoy Hans-Udo Muzel that the reaction was considered to be an "interference in the internal affairs" of Iran, an official statement read.
It called on the German embassy to "recognise the limits of its diplomatic duties and not go beyond them."
"Interference in the laws, regulations and judicial procedures of the Islamic Republic of Iran is not tolerable in any way," the statement added.
Navid Afkari, a 27-year-old wrestler, was executed at a prison in the southern city of Shiraz on Saturday.
According to Iran's judiciary, he had been found guilty of "voluntary homicide" for stabbing to death a water department employee on August 2, 2018.
Shiraz and several other urban centres across Iran had been the scene that day of anti-government protests and demonstrations over economic and social hardship.
The German embassy condemned Afkari's death in a message written in Farsi posted on its official Twitter account on Sunday.
"We were deeply shocked by the execution of Navid Afkari," the message read.
"It is not acceptable that basic legal rights be ignored in order to silence opposing voices," it added.
The embassy said that Afkari's two brothers "are still in prison and now they need our solidarity."
Reports published abroad say Afkari was convicted on the basis of confessions aired on television after being extracted under torture, prompting online campaigns for his release.
The judiciary's Mizan Online news agency has denied the accusations.
Earlier on Monday, a judiciary official condemned the "interference of some European embassies" and called on them to "not be a loudspeaker for lies like an opposition group."
"Foreign pressure will neither dull the sharp tip of the judiciary's justice, nor lessen its Islamic mercy and compassion," Mizan Online quoted the judiciary's deputy head for international affairs Ali Bagheri as saying.