Furniture store IKEA has to pay more than a million euros in damages and fines from a French court.

On Tuesday, IKEA was convicted of spying on French union representatives, employees and some disgruntled customers.

The company has not yet decided to appeal.

The panel of judges at the court in Versailles ruled that the French branch of IKEA used espionage between 2009 and 2012 to monitor critical employees and profile disgruntled customers.

Unions accused IKEA France of unlawfully collecting personal data and disclosing personal information.

The data came from illegally obtained police files, among other things.

The unions alleged that IKEA paid France to access police files containing information about targeted individuals, particularly union activists and customers who had disputes with IKEA.

Two former IKEA directors get suspended prison terms

In one situation, IKEA France was accused of using unauthorized information to try and get hold of an employee who had filed for unemployment benefits but was driving a Porsche.

In another case, the French branch reportedly investigated an employee's criminal record to determine how the employee was able to own a low-income BMW.

Two former directors of IKEA's French branch were convicted and fined for the scheme and given suspended prison terms.

Of the other 13 defendants in the trial, some were acquitted and others given suspended sentences.

IKEA's French subsidiary employs more than ten thousand people in 34 stores, an e-commerce site and a customer support center

Former director of IKEA France, Jean-Louis Baillot, who denied having set up an espionage operation, was fined €50,000 and a two-year suspended sentence.

Another former CEO of IKEA France was acquitted for lack of evidence.