Interesting thing about that 'bad' contract is how it can actually help the Spurs get a trade for Lebron. Spurs can actually obtain 125% of the salary they send out. So fast forward to free agency, Lebron meets spurs and says I want to join but want my 33mil. Spurs would have hard a time creating 33mil in cap space. Would require a lot of waiving and salary dumping and would leave the Spurs thin. However, Lebron can request the Cavs to trade him to the Spurs. If Green accepts his opt-in, Spurs can trade Green and Gasol which equal 26mil, and that fits into the 125% rule. Why the Cavs do that? Well, they essentially get 2 expiring contracts, add two second round picks or first, and they get something in return for Lebron bailing. The cavs could dump Green for contending team for a second pick, like the sixers who have cap to absorb. The cavs then could use those picks to drop Tristain/Smith/Hill to restart a mini rebuild and get under the luxury tax. This is a better option than just losing Lebron for nothing and have no extra picks to attached to get out of their bloated contracts.
I think there was a reason why the Spurs offered Gasol that contract. It was like they were unable to guarantee that he will be with them for the 18/19 season. So as an incentive here is an extra 6mil. Gasol probably gets bought out if Spurs to add cash considerations to the lebron trade. Gasol then can play out his last years with his brother at the Grizzlies for a small contract. I have always maintained that the contract wasn't a bad one. I always visioned the spurs using his contract to trade this offseason. It is essentially an expiring contract.