Yeah, but that's the way it is, with separation of Church and State. Most have state marriages as a prerequisite to church marriages, to deal with that problem, but it's a messy solution.
In the end, tho, the State will always want to jump in, once it's about kids and money, like inheritances and custody.