An Amsterdam court has ruled that the thousands of Uber drivers who shuttle passengers across the Netherlands should be reclassified as employees of the company.

In its ruling Tuesday, the court also ordered the U.S. ride-hailing company to pay damages of €50,000 for its failure to stick to the terms of the collective labor agreement of the country’s taxi sector. The judgment will also allow drivers to claim back pay in some cases.