His angry words were echoed by Foreign Minister Ahmet Davutoglu, who said the European Parliament had no right to censure Turkey if it didn't do the same when other European nations tackled protests in similar ways.
For example, he said, water cannons and tear gas were used by German security forces at an Occupy protest in Frankfurt on June 1, the same day as they were deployed in Turkey, without drawing criticism.
"Turkey will always support the freedom of demonstration ... but if this is misused, we distinguish between the innocent demonstrators and the marginal groups who try to misuse the right of demonstration," he said.
He accused some people of trying to damage Turkey's image in the eyes of the world.
Turkey has for many years expressed the desire to become a member of the European Union.
Experts and human rights groups say Erdogan's government lags when it comes to human rights and freedom of expression by opponents.
"Prosecutors and courts continued to use terrorism laws to prosecute and prolong incarceration of thousands of Kurdish political activists, human rights defenders, students, journalists and trade unionists," Human Rights Watch wrote in a 2013 report on Turkey.
Turkish journalists are afraid to write anything critical of the government, and media companies are slapped with huge tax fines for covering uncomfortable topics.
According to the Committee to Protect Journalists, Turkish authorities have targeted journalists with detention for covering the protests.
The prime minister has said many times he will not back down.
On Wednesday evening, Taksim police took two foreign nationals into custody on grounds that they resisted police, according to the Turkish Radio and Television Corp. official website. It was reported that the two men were journalists working for a Canadian television and covering the protests in Taksim Square.
On Thursday, the U.S. Embassy in Ankara issued a security message to American visitors, highlighting a risk of terrorist attacks on U.S. diplomatic, consular and military facilities in Turkey.
"The U.S. Embassy has received an increased number of reports indicating terrorist organizations are targeting these facilities," the advisory said.
It said U.S. diplomatic facilities will remain open for business "in the absence of specific and credible threat information that cannot be otherwise countered."