The European Union’s highest court on Tuesday backed the system of mandatory retirement age to combat high unemployment.

In a judgment, the European Court of Justice said that even though discrimination based on age was illegal, the imposition of the 65-year threshold for workers can be justified to stabilize the labor market and if proper pension is provided.