If he got a declaratory judgment, like Goldwater or McCain, this wouldn’t be an issue for him.
There’s no way he’ll put this in front of a judge.