In order for a court to rule as you suggest they would have to rule that the drafters of the 22nd really meant to say “No person shall be eligible to serve as President...” but somehow just couldn’t manage to find the right words.
This is a BIG nono in my world.
This can't have been the intent.