It would have to only allowing joining before a suit is launched or after all payments for misuse of its patents have been met.
Problem is, once it begins generating revenue, there is a chance it will want to continue doing so. The lawyers on staff don't want to get fired for lack of work, so there is a possibility it becomes a bad (or at least Chaotic Neutral) patent troll.