Well then produce that written agreement in court and the Scouts win. Problem solved.
You are not a lawyer, are you? If that agreement was with the KKK and prevented blacks from joining, would the contract be enforceable? That is the tack these pro-queer dirtbags are taking.