Ecstasy of Gold by Ennio Morricone

I saw this posted today and had to figure out which film this was referring to.

OP wasn't lying: The greatest song ever written WAS conjured by an Italian for a scene in a Western filmed in Spain where a Polish man pretending to be a Mexican bandit does a gay little run through a graveyard for three and a half minutes uninterrupted.