Four California officials who rejected voters’ recall votes and stayed in office must now leave following a court ruling upholding the election results.