The important thing in this context is neither the executive nor the judicial branches get to make election law - as they did in multiple states in 2020……unconstitutionally.
If the state’s constitution or previous legislation, for instance emergency powers laws, give the executive that power I don’t think SCOTUS will second guess.