Yeah, but the spirit of the law is being violated. The purpose of the law is to prevent what DeSantis is now doing.
Courts do not deal with spirit of the law unless the intent is so muddied by poor wording they have to step in and decide which reading is correct. The statute as written is not muddied at all. Especially since statute also provides definition of and procedure for qualifying as a candidate.