Facebook has complied with a Turkish court order that demanded the site to locally block access to several pages showing materials said to be insulting to the Prophet Muhammad.

According to Turkish media, the Gölbaşı Criminal Court of Peace in Ankara issued the order on Sunday, and it threatened to order a complete ban of the social network if Facebook did not comply. This same court has led previous bans or blocks of other sites, including YouTube and Twitter.

Turkish Prime Minister Ahmet Davutoglu recently appeared with a number of other world leaders in Paris at a rally for freedom of expression in the wake of the shooting at the offices of Charlie Hebdo, a French satirical magazine. But Amnesty International reported that earlier this month, a leading daily newspaper, Cumhuriyet, is facing a criminal investigation for reprinting some of the Charlie Hebdo cartoons.

Davutoglu told reporters in the Turkish capital earlier this month that freedom of expression “does not grant anybody the right to insult another’s beliefs.” He added, “In this country, we don’t allow insults to the Prophet. This is a very clear, sharp and principled stance. Everybody should know this."

Ars reached out to Facebook for comment, but the site has not responded at the time of publication. We will update this report if we receive an official statement.