So I could get an annulment from my two previous marriages and run for President.
Then shouldn’t Reagan have become a Catholic by your logic?
A marriage by the Justice of the Peace is not considered valid in the Catholic Church. There are other circumstances such as later in the marriage declaring to one’s spouse I never wanted to be married and I never wanted children.
(And moving in with a man two weeks later, to boot.)