Turkish prime minister Recep Tayyip Erdogan has that he had to comply with the Turkish high court ruling this week to unblock Twitter, but added that he does not respect it.
Turkey blocked access to the social media website two weeks ago after some users posted links suggesting government corruption.
It later also blocked access to YouTube after a leaked recording of a top government security meeting was posted on the video-sharing website. Mr Erdogan had vowed to "rip out the roots" of Twitter for allowing the postings.
The government lifted the Twitter ban yesterday, a day after the high court ruled that it violated the right to free expression.
Mr Erdogan said of the court's decision: "I don't have to respect it. I don't respect it."
He said the court was protecting a tool of foreign influence, saying that Twitter is "the product of an American company".
"All of our national moral values are being set aside," the prime minister added.
Also today, a lower court ruled that a total blockage of access to YouTube was a "serious intervention against freedom of expression" and ruled that the blanket ban be lifted.
But it ruled that access to 15 videos deemed to be in violation of Turkish laws could remain blocked.
It was not clear when the latest court ruling would be implemented.
Turkey failed to implement an earlier lower court ruling for the lifting of the Twitter ban and it took it several hours to abide by yesterday's high court ruling.