It would seem to me that the office where the candidate registers his/her candidacy would be the entity first responsible for determining whether a candidate is eligible to run.
We’re dealing with ‘the law’ here....logic doesn’t count. };^)
I’ve been following CongressmanBillyBob’s articles on the “Owners Manual” of government and have asked him to clarify this point. I’ll post his answer when I get it.