Needless to say, even if your defense in the lawsuit succeeds, you may have burned a bridge, and then you may have to sue them in the future, if you want to publish with that publisher in the future (to somehow argue that they have no legal right to
decline subsequent submissions).