For inter Miami it's a win-win. Get Messi back in shape , get Messi to prove he's still got it (to help viewership) and they get him to stay longer. I don't see the benefits for Barca tho , except maybe to help get rid of bad blood from when he was sold.