The European Court of Justice has held that German legislation that requires civil servants to retire at 65 can be justified if "appropriate and necessary" means are used to achieve the aim of balancing the employment levels of young and older civil servants to encourage the recruitment and promotion of young people. It also stressed that budgetary considerations cannot by themselves constitute a legitimate aim in relation to a member state's social policy.