It has happened. IIRC, there is a case of improvidently elected governor. Nebraska? Court ruled the winner (who had been in office) was not eligible - not a resident.
Supreme Court has roles depending on how things develop below, but it can say it has no role if it wants to. In addition to legsilature sets the election rules, there are equal protection claims.
Or, as likely will happen if any case gets to the USSC (and as it almost always does sans a ruling by Roberts) it will rule very, very narrowly on the PA law in such a way as to preclude any spillover to other states.
I’d look for this.