European Union – Employment. Council Directive (EC) 97/81, as amended by Council Directive (EC) 98/23, should be interpreted as meaning that, in a case such as that at issue in the main proceedings, periods of service prior to the deadline for transposing Directive 97/81, as amended, should be taken into account for the purpose of calculating the retirement pension entitlement. The Court of Justice of the European Union so held in proceedings concerning the amount of retirement pension to which the applicant was entitled by reason of his part-time service in judicial office.