The Commonwealth Court decided Thursday that voters in the presidential battleground of Pennsylvania can cast provisional ballots in place of mail-in ballots that are rejected for a garden-variety mistake they made when they returned it, according to lawyers in the case.

Democrats typically outvote Republicans by mail by about 3-to-1 in Pennsylvania, and the decision by a state Commonwealth Court panel could mean that hundreds or thousands more votes are counted in November’s election, when the state is expected to play an outsized role in picking the next president.