One way to deal with the shell problem us to require a bond to be posted, that's forfeit if the lawsuit is found without merit. An insurance company then can pick the risk and set the premium according to their assessment whether the lawsuit has been filed in bad faith.
The court will have to work extra hard to make the distinction, but that might be the acceptable compromise in dealing with shell companies.