Oil giant BP has lost a bid to avoid paying $15 million to Walmart for losses the retailer suffered due to its 2010 oil spill in the Gulf Coast.

On Tuesday, the U.S. Court of Appeals for the Fifth Circuit affirmed payments to five Walmart stores in Florida, Mississippi and Louisiana that made separate claims as part of a 2012 class action settlement aimed at compensating businesses with economic losses tied to the Deepwater Horizon oil spill. BP, which unsuccessfully challenged its own settlement in a legal fight that went all the way to the U.S. Supreme Court, has continued to petition the Fifth Circuit to review individual payments to certain businesses in a settlement now estimated to have grown to more than $10 billion.