The courts will punt this to confess or rule he’s ok. No way would they step in on this in a negative manner.
The ruling affects much more than a presidential race. This legal question has deep historical roots, and has play in deportation cases.