A Russian court on Thursday upheld a decision to block the website of social networking company LinkedIn, Interfax news agency reported, setting a precedent for the way foreign Internet firms operate in the country.

Russia’s Roskomnadzor communications watchdog has said LinkedIn lnkd , which has more than 6 million registered users in Russia, was violating a law requiring websites which store the personal data of Russian citizens to do so on Russian servers.

Moscow has said the law, introduced in 2014 but never previously enforced, is aimed at protecting Russians’ personal data. Critics see it as an attack on social networks in a country which has increasingly tightened control over the Internet in recent years.

Moscow’s Tagansky District Court ruled in August that LinkedIn’s site should be blocked, but the decision had not yet come into force pending a company appeal.

“The decision of the Tagansky District Court has been upheld, the appeal by LinkedIn Corporation is unsatisfactory,” Interfax quoted a court decision as saying.

Get Data Sheet, Fortune’s technology newsletter

LinkedIn’s representatives in Russia did not immediately reply to a request for comment.

Russia will take action to block LinkedIn’s website within the next week, RIA news agency cited a Roskomnadzor spokesman as saying. Roskomnadzor did not immediately reply to a request for comment.

While some companies such as online reservations site Booking.com have said they will transfer the necessary data to Russian servers, it is unclear whether others, including Facebook fb and Alphabet unit Google googl , will comply with the law.