Corperate fines are the same as charitable donations

I would think that both the DOJ and the company paying the “fine” negotiate the wording of the settlement and the tax implications are taken into account. This doesn’t seem to be a loophole that corporations have found and the DOJ is unaware of it.