Correction: A previous version of this article wrongly referred to the country where UBS is located. The bank is based in Switzerland.

A memorable ad used to say it’s not nice to fool Mother Nature. And good lawyers know it’s not smart to try to fool federal prosecutors, either. Numerous corporations and their general counsel have learned that lesson the hard way.