I came across an article on Twitter today that was written back in August that imagined just that scenario, with the election then going to the House, which, given its tilt toward the GOP in numbers of state delegations controlled, would vote Trump. However, they proposed a trick Pelosi could pull to counter that move, which is to have Democratic challenges come forward to dispute House races. Apparently, the Speaker (or Senate majority leader) is the final arbiter of a disputed congressional race, which was news to me. It is used so seldomly that no one really knows this. The author of the article had to go back to Mary Landrieu in like 1996 to find the most recent time the Majority Leader sat a member of a disputed election (though it was easy because it was clear she won the vote). So Pelosi could just say, "Fuck you, GOP, John Smith says he won, and I say he did, too." Obviously it won't come to that, but it's fun to learn what doomsday scenarios could await.