Who’s going to enforce this law in the instance you are citing?
A reasonable statutory construction permits the man to run. If he decides to run, he will rely on that construction, or another reasonable construction, provided to him in the form of a lawyer’s legal opinion. In such a circumstance, he won’t look back, and it is unlikely that anyone who believes in the narrow negative construction will even have/demonstrate standing, much less win a legal battle. We already have federal standards for who can run and hold the office of POTUS, as spelled out in the Constitution. No need for a state to seek to add to those requirements.
If you are a current elected officer in a state their are laws that applys. You might want to read the law.