California leaders said the state intends to challenge the move in court, and to find new ways to move drivers toward electric vehicles.