Under international maritime law, if a wreck is found to be a warship sunk while on duty, its cargo remains the property of the ships country of origin.
http://www.businessweek.com/articles/2012-06-07/odyssey-and-the-lost-spanish-treasure
I doubt that the treasure galleys were ever classified as warships.