A court in Germany has ruled that Facebook is violating the country's data protection laws with several privacy settings that require users to provide their personal data and real names.
Judges in the Berlin state court on Monday ruled in a suit brought by the Federation of German Consumer Organizations (VZVB) that Facebook's "real name" clause was in breach of the country's regulation and “illegal.”
Under German law, providers of online services must allow users to remain anonymous and that personal information can only be recorded or used by a company with explicit agreement from the individual.
"The judges ruled that all five of the default settings on Facebook that VZVB complained about are invalid," the VZVB said in a statement, adding that some of Facebook's terms of use were found to be illegal, including sharing location data with chat partners or making profiles available to external search engines.
The lawsuit also accused the US online social media and networking service of leaving many settings switched on by default and failing to offer users a meaningful choice about how their data was used.
"Facebook hides default settings that are not privacy-friendly in its privacy center and does not provide sufficient information about it when users register," said Heiko Duenkel, litigation policy officer at the VZVB. "This does not meet the requirement for informed consent."
Facebook, which counts more than 2 billion users worldwide, already faces scrutiny from Germany's competition authorities over handling of its users' personal data.
Facebook said it would appeal the Monday court ruling, adding that many of its terms of service had changed since the suit was first brought in 2015.
"We are working hard to ensure that our guidelines are clear and easy to understand, and that the services offered by Facebook are in full accordance with the law," Facebook said.
"Our products and terms of service have changed a lot since the beginning of the case, and we are making further changes this year to our terms of use and data protection guidelines, with a view to upcoming legal changes," it added.
Germany is a major market for Facebook in Europe, with around 30 million of the country's 80-million strong population signed up and almost 23 million using the network every day.