The US Supreme Court has dismissed an appeal by a salvage company in the Odyssey treasure case, meaning Spain can keep the gold.