Anyone who runs for public office should sign a pledge to abide by the approved results of that election.
If they have a legitimate concern, of course they can take it to court. But if the court finds that there case has no merit, and is only being brought to confuse the public and discredit the process, there should be a fine of no less than $500K.