I do not understand why a STATE court has any “say” in a FEDERAL election.
Elections are run by the states, including Federal ones. This has it ever been.