Turkey has summoned Sweden’s envoy in an escalating row after Stockholm accused Ankara of legalising sex with children.

The dispute is the latest in several spats highlighting rising tensions between Turkey and EU states in the wake of the botched 15 July coup followed by a prolonged crackdown that angered Europe.

What’s it like living in Turkey one month after the failed coup? Read more

Swedish foreign minister, Margot Wallström, had tweeted on her official account that the “Turkish decision to allow sex with children under 15 must be reversed,” following a controversial ruling by the Turkish constitutional court.

“It is a scandal for a foreign minister to post such a tweet based on false news or speculation,” the Turkish foreign minister, Mevlüt Çavuşoğlu, said in televised comments, adding the Swedish ambassador to Ankara had been summoned to his ministry. However, the Swedish foreign ministry said it was the chargé d’affaires who was summoned by Ankara, as the ambassador was still on vacation.

Margot Wallström (@margotwallstrom) Turkish decision to allow sex with children under 15 must be reversed. Children need more protection, not less, against violence, sex abuse.

Çavuşoğlu blasted the “unacceptable” tweet, saying Wallström should have acted responsibly. “A foreign minister should not tell lies and should not adopt an approach accusing Turkey,” he said. “Yes to criticism but this is a slander, a lie.”

Turkey’s constitutional court in July annulled a criminal code provision punishing as “sexual abuse” all sexual acts involving children under the age of 15, responding to a petition brought by a lower court. The court has given a six-month period for parliament to draw up a new law based on its ruling.

The lower court that brought the petition was worried there was no distinction between cases of sexual acts involving a young teenager or a toddler. The legal age of consent in Turkey remains 18 and was not affected by the ruling. But it drew a furious response from activists worried it would open the way for unpunished child sexual abuse.

The justice ministry said in a statement that a new bill would be submitted to the parliament “as soon as possible” while adding the constitutional court ruling would come into effect no earlier than 11 December. “By passing new legislation by the court-imposed deadline, the Turkish government will prevent a loophole from emerging in the future,” the ministry said. “Under Turkish law, all provisions related to the sexual abuse of children remain in effect. As such, the claim that the sexual abuse of children under 15 goes unpunished is completely baseless.”

On Twitter, Turkey’s deputy prime minister, Mehmet Şimşek, told Wallström she was misinformed.

Mehmet Simsek (@memetsimsek) You are clearly misinformed. There is no such stupid thing in Turkey. Please get your facts right. https://t.co/vrg9ybdsY0

The Turkish ambassador to Stockholm was due to meet the Swedish foreign minister on Monday, Çavuşoğlu said, adding he would also speak to Wallström on the phone. The Swedish prime minister, Stefan Löfven told the country’s news agency TT: “For our part it’s important to express ... what we believe in. There is no reason to back down from a view that we want to strengthen children’s rights ... It’s important for us to have a dialogue but we have to express what we feel strongly about.”

Ankara also summoned the Austrian chargé d’affaires at the weekend in protest over a news ticker at Vienna airport about the age of consent controversy. The digital sign – above an arrivals board and supplied by mass-circulation daily Kronen Zeitung – said in German “Turkey allows sex with children under 15”.

The foreign ministry expressed outrage that the airport was being abused by a “discredited newspaper to spread its irresponsible, distorted and falsified messages in order to defame a friendly country”.

Çavuşoğlu hit back, saying: “It is alarming that the slander campaign that started in Austria – the capital of racism and Islamophobia – is spreading into Sweden which is actually more sensitive on human rights.”

Ties between Turkey and Austria have strained after a number of Austrian politicians spoke out against Turkey’s longstanding bid to join the EU, particularly after the vast purge that followed the coup bid. Austrian defence minister, Hans Peter Doskozil has compared Turkey to a “dictatorship”.