Regulated legal insurance market coupled with „looser pays all the costs“ system.
The insurance doesn’t mind fighting for you because they will get paid by the company making the frivolous suit. You don’t pay much, 10$/month.
Although in this particular case, you wouldn’t even need that, since either you took the documents and that is criminal fraud prosecuted by the state or you didn’t take the documents and then the company would be in hella trouble if they perjured themselves to the public prosecutor claiming you did.