According to sources in the Republican Party at the state and national levels, the Trump campaign is discussing contingency plans to bypass election results and appoint loyal electors in battleground states where Republicans hold the legislative majority. With a justification based on claims of rampant fraud, Trump would ask state legislators to set aside the popular vote and exercise their power to choose a slate of electors directly. The longer Trump succeeds in keeping the vote count in doubt, the more pressure legislators will feel to act before the safe-harbor deadline expires.

To a modern democratic sensibility, discarding the popular vote for partisan gain looks uncomfortably like a coup, whatever license may be found for it in law. Would Republicans find that position disturbing enough to resist? Would they cede the election before resorting to such a ploy? Trump’s base would exact a high price for that betrayal, and by this point party officials would be invested in a narrative of fraud.

The Trump-campaign legal adviser I spoke with told me the push to appoint electors would be framed in terms of protecting the people’s will. Once committed to the position that the overtime count has been rigged, the adviser said, state lawmakers will want to judge for themselves what the voters intended.

“The state legislatures will say, ‘All right, we’ve been given this constitutional power. We don’t think the results of our own state are accurate, so here’s our slate of electors that we think properly reflect the results of our state,’ ” the adviser said. Democrats, he added, have exposed themselves to this stratagem by creating the conditions for a lengthy overtime.