That's a good question because I don't think it's occurred yet.
In Bush v. Gore they merely stopped the recount process based on the Equal Protection Clause (since counties recounted votes differently) and rejected the remedy of a statewide recount using universal standards because that could...