Wisconsin’s plan to hold an election in the middle of a pandemic is back on.

On Monday, Democratic Gov. Tony Evers attempted to reschedule an election the state is planning to hold on Tuesday, handing down an order suspending in-person voting until June 9 “unless the Legislature passes and the Governor approves a different date for in-person voting.” On a party-line vote, however, the Republican-controlled state Supreme Court struck down Evers’s order, meaning that the state is now on track to hold its election as originally scheduled.

The vote was 4-2, with Justice Daniel Kelly, a staunch conservative, recused because he is a candidate in Tuesday’s election.

Republicans have fought tooth and nail against nearly any effort to delay the election or to make it easier for voters to cast mail-in ballots, and the state Supreme Court is dominated by Republicans. Last week, Evers called the state legislature into session and asked it to delay the election. But the Republican-controlled legislature ended that session a few seconds after it was convened.

Republicans also rejected Evers’s proposal to automatically mail ballots to every voter in the state, and they’ve fought hard in federal court — including in the US Supreme Court — to prevent ballots from being counted after the original April 7 election date. On Monday evening, the US Supreme Court ruled against a lower court judge’s order extending the deadline for mail-in votes. The Supreme Court ruled that the ballots must be postmarked or received by April 7.

Nearly a dozen states have chosen to postpone presidential primary and local elections as most Americans remain at home to avoid spreading the coronavirus.

Wisconsin’s election is shaping up to be a trainwreck

With the coronavirus pandemic raging, most poll workers had refused to work Tuesday’s election, leading Evers to call up the National Guard in order to staff the polls. But this stopgap measure appears to have done little to prevent mass poll closures. In Milwaukee, for example, local election officials announced that there would be only five polling locations open — instead of the typical 180.

Meanwhile, about 50,000 Milwaukee residents are expected to attempt to vote in person, or about 10,000 per voting site. That means that each of these polling sites could potentially become a vector for the spread of Covid-19.

State officials were also overwhelmed by a crush of absentee ballots. In a typical spring election, no more than 250,000 voters request absentee ballots in Wisconsin. This time, over 1.1 million voters have sought such ballots, and that’s created a logistical nightmare of its own.

Wisconsin has struggled to mail out these ballots fast enough for voters to actually use them, and tens of thousands of voters are not expected to receive their ballots until after the April 7 election day has passed. With so many voters facing disenfranchisement through no fault of their own, federal Judge William Conley ordered the state to extend the deadline for mailed-in ballots by six days. But that ruling was overturned by the Supreme Court.

This weekend, the mayors of 10 of Wisconsin’s largest cities sent a letter to the state’s health secretary, Andrea Palm, urging her to “stop the State of Wisconsin from putting hundreds of thousands of citizens at risk by requiring them to vote at the polls while this ugly pandemic spreads.” The mayors cited a state law that gives Palm the power to “forbid public gatherings in schools, churches, and other places to control outbreaks and epidemics,” among other things.

Yet, the letter also acknowledges that Palm does “not have the authority to determine the modifications necessary to conclude this election,” adding that “that power lies in the Legislative branch and with the Governor.”

The legislature has refused to take any action to allow this election to move forward safely during a pandemic. After Evers ordered the legislature into session this Saturday, the Republican-controlled state Assembly ended that session after only 17 seconds.

Even before the coronavirus hit, Wisconsin did not hold free and fair elections for its state legislature. Indeed, the state assembly is so thoroughly gerrymandered that, in 2018, Republicans won 63 of the body’s 99 seats — despite the fact that Democratic candidates received 54 percent of the popular vote.

If Wisconsin chose its legislature democratically, it is likely that Evers could have worked with a Democratic legislature to delay Tuesday’s election or to hold the election entirely through mailed-in ballots.

Republicans want to hold onto one of their state Supreme Court seats

There is some evidence suggesting that Republicans stand to gain if much of the state is unable to vote in Tuesday’s election. Next to the presidential primary, where polls show that former Vice President Joe Biden is likely to trounce his remaining primary opponent Sen. Bernie Sanders (I-VT), the most important race on the ballot Tuesday is a state Supreme Court race between incumbent Justice Daniel Kelly and challenger Judge Jill Karofsky.

Though Wisconsin Supreme Court races are nominally nonpartisan, Kelly is a conservative appointed to the court by former Republican Gov. Scott Walker. Karofsky is broadly supported by liberal groups and is widely viewed as the Democratic alternative to Kelly.

Moreover, as law professor and election law expert Rick Hasen recently noted, “only 38% of voters who had requested an absentee ballot in heavily Democratic Milwaukee County had returned one, compared with over 56% of absentee voters in nearby Republican-leaning Waukesha County.”

There is at least some data, in other words, suggesting that, if voters were neither able to safely cast in-person ballots nor mail in absentee ballots if they received them late, that Kelly would be favored over Karofsky in the state Supreme Court race. By fighting to keep voters from casting a ballot, in other words, Republicans could potentially maintain their supermajority on the state Supreme Court.

Update, April 6, 7:50 pm ET: This article has been updated with news of court rulings requiring the election to be held on April 7 and against extending the mail-in voting deadline.