If the court tosses the case out because “x does not have standing”, then the case just needs to be refiled with someone who does have standing.
That probably varies by state.
The clock runs out on Safe Harbor date or on EC vote.