Immaterial. This should not have come to a civil suit. There are prohibitions in the bible against bringing this kind of matter to the civil authorities. However, as it was UCC and the losers in the vote who did that, I have no doubt that they are in the wrong, just on that score. What are they trying to do? Force people into a faith position? That never works very well.
The Bible? As an authority in a liberal, feel-good church? You are kidding, right?