A state court agreed Thursday night in a ballot-counting lawsuit with the campaign of David McCormick, who is in a neck-and-neck Republican primary contest for the U.S. Senate against celebrity heart surgeon Dr. Mehmet Oz. In the decision, Commonwealth Court Judge Renee Cohn Jubelirer ordered counties to count the ballots in question, although her decision could be reversed, depending on what the U.S. Supreme Court does in the coming days on a separate case. Because of the high court’s involvement, Jubelirer ordered counties to keep the undated ballots separate from other ballots and to count them separately. The ballots in question are roughly 880 mail-in ballots that lack a handwritten date on the envelope. Even if the ballots are counted, many Republicans believe McCormick would be unable to make up the gap with Oz in a recount.