WASHINGTON — In a pair of extraordinary rulings on Monday, the highest courts in Wisconsin and the nation split along ideological lines to reject Democratic efforts to defer voting in Tuesday’s elections in the state given the coronavirus pandemic. Election law experts said the stark divisions in the rulings did not bode well for faith in the rule of law and American democracy.

“Election cases, more than any other kind, need courts to be seen by the public as nonpartisan referees of the competing candidates and political parties,” said Edward B. Foley, a law professor at Ohio State University. “It is therefore extremely regrettable that on the very same day, on separate issues involving the same Wisconsin election, both the state and federal supreme courts were unable to escape split votes that seem just as politically divided as the litigants appearing before them.”

Richard L. Hasen, a law professor at the University of California, Irvine, and the author of a recently published and prescient book, “Election Meltdown,” said the pandemic had made a bad situation much worse.

“Monday’s performance by the courts augurs a nasty partisan divide in the judicial branch,” Professor Hasen said. “It threatens the legitimacy of both the election and the courts.”