Easier said than done, you don’t get lawyers fees back for winning a frivolous lawsuit, but you are required to pay them if you want to win. It’s entirely feasible for a company to force your hand in this way.
> you don’t get lawyers fees back for winning a frivolous lawsuit
Not automatically, but you can attempt to get them back through the court.
Most lawyers
1. First don't really care, since they get the money from their client
2. Think you will give in if they write a threatening letter.
I am not a lawyer but most lawyers have had a bad experience with me. (I have worked in regulatory and have written patents that were granted. So I am not a total NOOB). Many communications ended with "we don't want to pursue this further..."