They calculate risk / reward with models just like most acquisitions work. Honeywell bought a company back in my hometown once and took on their legal liability for environmental cleanup. Something like ~500M, they absorbed the legal ownership of whatever the company had, but their models say hey this is an overall net benefit of 600M - 500M we take on, hey we still make 100M lets do it!