Eight retired state court judges have lost an early bid to block a new policy capping the total amount of days they can fill temporary openings on the state court bench.

The plaintiffs sued the Judicial Council of California and the state’s chief justice in May claiming changes to the program allowing retired judges to fill temporary vacancies, including a 1,320-day limit on service in the so-called assigned judges program, amounted to age discrimination.