I'll defer to experts on the patent issue, but in principle, if you are quick to take measures to avoid doing business with people in states that cause you trouble as soon as they bring it up, it will very likely give you much better chances in court, and much more favor with whoever is deciding your fate, especially if it's international.