The Competition of Apollo and Pan and the judgment of Midas