Spot on. There is no “ban”, but rather a legal definition of marriage that does not include homosexual pairings.
This should be immediately thrown out of court based on lack of standing. If this “church” wants to play house, there is nothing stopping them.