Let the JPs marry people ... and then have wedding recognized by the church a separate event ..
Of course the state might not like that much because I suspect there will be some that will choose to skip the state wedding
That’s a fine thing, but it won’t satisfy them.