Notwithstanding any other provisions of this code, whenever a special general election, or a special primary election, to fill a vacancy in Congress or the State Legislature is consolidated with a statewide election, the candidates to fill the vacancy shall appear on the consolidated ballot immediately preceding the candidates for that same seat in Congress or the seat in the Legislature that most nearly encompasses the same geographical area at the statewide election, or the elections official at his or her option may print a separate and distinct ballot.
Ca. Elec. Code § 10707