They'd have access to an asset that's highly valued, finite, and has the properties to serve as a future international reserve currency. It's a hell of a geopolitical "poker chip" to have fall in your lap.
You could argue that there's an opportunity cost to letting the money stay parked, but because governments ultimately dictate the value of their own currency, that point is moot.