FolkloreGODS, I have noticed that Q521.5 of ATU 461 in https://libraryguides.missouri.edu/c.php?g=1039894&p=7610331 is similar to Atlas being deceived by Heracles in one of the Twelve Labors. Bearing in mind that the Island of the Hesperides is situated at the western end of the world, something common in mythologies for the entrances to the Underworld due the epiphet of "where the Sun dies", and half of the Devil and the Golden Hairs happens in the Underworld, what do you think of an anon's conclusion that both stories descend from the same (indo-european) source, thousands of years into the past?