FILE PHOTO: A man is silhouetted against a video screen with an Facebook logo as he poses with an Samsung S4 smartphone in this photo illustration August 14, 2013. REUTERS/Dado Ruvic/File Photo

BRUSSELS (Reuters) - A Belgian court threatened Facebook FB.O on Friday with a fine of up to 100 million euros ($125 million) if it continued to break privacy laws by tracking people on third-party websites.

In a case brought by Belgium’s privacy watchdog, the court also ruled that Facebook had to delete all data it had gathered illegally on Belgian citizens, including people who were not Facebook users themselves.

Facebook, which will be fined 250,000 euros a day or up to 100 million euros if it does not comply with the court’s judgment, said in a statement it would appeal the ruling.

“Facebook informs us insufficiently about gathering information about us, the kind of data it collects, what it does with that data and how long it stores it,” the court said.

“It also does not gain our consent to collect and store all this information,” it added in a statement.

The social media group uses different methods to track the online behavior of people if they are not on the company’s web site by placing cookies and invisible pixels on third-party web sites, the court said.

Facebook said the technologies it uses were in line with industry standards and it gives users the right to opt out of data collection on websites and applications off its platform being used for advertisements.

“We’ll comply with this new law, just as we’ve complied with existing data protection law in Europe,” said Richard Allan, Facebook’s vice president of public policy for Europe, Middle East Africa.

Belgium’s privacy watchdog welcomed the ruling. “Facebook has just launched a large campaign where they stress the importance of privacy. We hope they will now make this a reality,” it said.