No contortions at all just basic ignorance of civil law versus Sacramental marriage.
You're a nice fella but the pigeons are beating you.
By your distinction the difference is easy to see. If a magistrate performs the service -it's a legal contract. If a priest performs the spiritual service, complete with a Mass, then it's a "licit" marriage.
Unless... It's not.