Turkey's President Recep Tayyip Erdogan has said the Netherlands will "pay the price" for its "shameless" treatment of its family minister.

"They will certainly pay the price, and also learn what diplomacy is. We will teach them international diplomacy," Mr Erdogan said in a speech at an awards ceremony in Istanbul.

He said he appropriately accused the Dutch government of "Nazism and fascism," saying only those types of regimes would bar foreign ministers from travelling within their countries.

"I have said that I had thought that Nazism was over, but that I was wrong," he added. "Nazism is alive in the West."

The row over Ankara's political campaigning among Turkish immigrants in the Netherlands and Germany has escalated in recent days, with Mr Erdogan labelling the Netherlands a "Nazi remnant" after it prevented Turkish politicians from holding rallies.

The Dutch government first barred Turkish Foreign Minister Mevlut Cavusoglu from flying into Rotterdam and later stopped Family Minister Fatma Betul Sayan Kaya from entering the Turkish consulate there, before escorting her back to Germany.

Dutch police used dogs sand water cannons to disperse hundreds of protesters gathering outside the Turkish consulate in Rotterdam.

Several demonstrators were beaten by police with batons while others threw bottles and stones, a witness told Reuters.

Mr Erdogan is looking to the large number of Turks living in Europe, especially in Germany and the Netherlands, to help clinch victory next month in a referendum that would give the presidency sweeping new powers.

In pictures: Turkey coup attempt Show all 17 1 /17 In pictures: Turkey coup attempt In pictures: Turkey coup attempt Turkish President Erdogan attends the funeral service for victims of the thwarted coup in Istanbul at Fatih mosque on July 17, 2016 in Istanbul, Turkey Burak Kara/Getty Images In pictures: Turkey coup attempt Soldiers involved in the coup attempt surrender on Bosphorus bridge with their hands raised in Istanbul on 16 July, 2016 Gokhan Tan/Getty In pictures: Turkey coup attempt A civilian beats a soldier after troops involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey, 16 July, 2016 REUTERS/Murad Sezer In pictures: Turkey coup attempt Surrendered Turkish soldiers who were involved in the coup are beaten by a civilian Reuters In pictures: Turkey coup attempt Soliders involved in the coup attempt surrender on Bosphorus bridge Getty In pictures: Turkey coup attempt Supporters of Turkish President Recep Tayyip Erdogan wave flags as they capture a Turkish Army vehicle Getty In pictures: Turkey coup attempt People pose near a tank after troops involved in the coup surrendered on the Bosphorus Bridge in Istanbul, Turkey, 16 July, 2016 Reuters In pictures: Turkey coup attempt Turkish soldiers block Istanbul's Bosphorus Brigde Getty In pictures: Turkey coup attempt A Turkish military stands guard near the Taksim Square in Istanbul Reuters In pictures: Turkey coup attempt Pierre Crom/Twitter In pictures: Turkey coup attempt Turkish soldiers secure the area as supporters of Recep Tayyip Erdogan protest in Istanbul's Taksim square AP In pictures: Turkey coup attempt People demonstrate in front of the Republic Monument at the Taksim Square in Istanbul Murad Sezer/Reuters In pictures: Turkey coup attempt Turkish soldiers detain police officers during a security shutdown of the Bosphorus Bridge Reuters In pictures: Turkey coup attempt Turkish Army armoured personnel carriers in the main streets of Istanbul Getty In pictures: Turkey coup attempt Chaos reigned in Istanbul as tanks drove through the streets EPA/TOLGA BOZOGLU In pictures: Turkey coup attempt Turkish President Tayyip Erdogan speaks to media in the resort town of Marmaris Reuters In pictures: Turkey coup attempt Supporters of President Erdogan celebrate in Ankara following the suppression of the attempted coup Reuters

German Chancellor Angela Merkel has said she will do everything possible to prevent Turkish political tensions spilling onto German soil.

Four rallies in Austria and one in Switzerland have been cancelled due to the growing dispute.

Mr Erdogan has cited domestic threats from Kurdish and Islamist militants and a July coup bid as cause to vote "yes" to his new powers.