While a public employee does have a ‘vested right’ to a pension, that right is only to a ‘reasonable’ pension  not an immutable entitlement to the most optimal formula of calculating the pension,” Justice James A. Richman, of California’s 1st District Court of Appeal, wrote last August.