Under age discrimination legislation (Employment Equality Age Regulations) which came into force in 2006 compulsory retirement ages were unlawful unless they could be objectively justified.