Like all politicians, Democrats will recognize the self interest in having fair elections. If the court is going to hand the elections to Republicans against the rules, they will suddenly see the need to reform the court.
So, even from a pessimistic point of view, they either uphold the law as it clearly should be or face their end.