Pennsylvania election officials should be following laws already on the books governing undated ballots or other discrepancies, Republican National Committee Chairwoman Ronna McDaniel said Tuesday.

McDaniel's comments came as U.S. Senate candidate David McCormick filed a lawsuit this week seeking the counting of undated ballots in his primary battle with Dr. Mehmet Oz, who leads by a razor-thin margin.

McDaniel said the fact the RNC is siding with Oz on the argument is not a sign they favor him over McCormick. However, she said, the lawsuit – which the campaign argues cites a recent court ruling that mail-in ballots should not be disqualified based simply on lack of dating – goes against current Pennsylvania state law.

"We saw many state laws abandoned in 2020, and we're saying to every state, just uphold the laws that you have on their books," she told "The Story."

PA GOP PRIMARY RACE REMAINS TOO CLOSE TO CALL

Mike Pompeo and Dave McCormick on campaign trail

Mike Pompeo, David McCormick (McCormick campaign)

The lawsuit in question centers on a 2021 court election in Allentown where Republican David Ritter battled Democrat Zachary Cohen for the final of a handful of Lehigh County bench seats.

Ritter currently leads Cohen in that months-delayed race, but 257 ballots-in-dispute could swing the race to the Democrat, according to WFMZ-69.

PA PRIMARY BIDS EMBRACED TRUMP, WHILE DEMS SHUNNED BIDEN: CONWAY

Pennsylvania Welcome Sign on Route 222.

A Pennsylvania welcome sign greets drivers on US-222 entering Peach Bottom, Pa., from Maryland, 2022. (Fox News/Charlie Creitz)

The ruling and suit from McCormick are also potentially key to another unresolved Lehigh contest where conservative Parkland School Board member Jarrett Coleman holds a 30-vote lead in the State Senate primary against longtime Senate Appropriations Committee Chairman Pat Browne.

The order from a three-judge panel of the Third Circuit Court of Appeals said the dating policy is "immaterial" to federal voting rights laws, and "there is no basis… to refuse to count undated ballots" in the Ritter-Cohen race.

On "The Story," McDaniel reiterated the RNC simply wants established state laws to be followed:

CLICK TO GET FOX NEWS APP

David McCormick hugs supporter

McCormick in Ironton, Pa. (Getty Images )

"We don't want them changing the rules after the game has been played," she said. "And [the law] says that undated ballots should not be counted. Our concern is... if we start changing and cherry-picking pieces of the law, then what happens in November?"

McDaniel added those favoring McCormick's suit should be suspicious because Hillary Clinton-linked attorney Marc Elias, who has pursued redistricting filings nationwide, is praising the candidate's new lawsuit.

A McCormick source said the campaign's litigation aims to compel counties to follow the Third Circuit ruling, while Ritter filed a motion Monday seeking a stay of that same ruling – so he could consider filing to the U.S. Supreme Court, according to WFMZ.

In the lawsuit, McCormick's campaign claimed that at least two counties – Blair, which includes Altoona, and Allegheny, which contains Pittsburgh – suggested they would not count the ballots as part of their unofficial result that each county must report to the state Tuesday. 

"Both the Pennsylvania Supreme Court and the United States Court of Appeals for the Third Circuit have held that mail-in ballots should not be disqualified simply because the voters failed to hand-write a date on the exterior mailing envelope of their ballots," Chuck Cooper, chief legal counsel for McCormick's campaign, told Fox News Digital Tuesday. 

"Because all ballots are time stamped by the County Boards of Elections on receipt, a voter's handwritten date is meaningless.  All timely ballots of qualified Republican voters should be counted," Cooper added.

Fox News' Tyler O'Neil contributed to this report.