But the rule of law must prevail. The loser could go through exhaustive legal appeals and file new court challenges. But he probably would lose. If he did win, it would set a dangerous precedent. The courts have no business overturning presidential elections, particularly if that means retroactively rewriting election procedures.
Courts already write laws and amend the Constitution.
Don't get them involved in electing the president, as well. In the months and years ahead, it is perfectly acceptable to rethink the Electoral College, punch-card voting and election deadlines. But an election must be ruled by the laws in effect at the time it took place. This country is badly split, not just philosophically but emotionally. Further legal challenges would only cause those wounds to fester, making it even more difficult for the winner to bring the nation back together.