Noel Gallagher missed out on featuring on the soundtrack for Trainspotting because he thought the film was about railway enthusiasts, it has emerged.
Director Danny Boyle was said to be desperate for Gallagher and his band Oasis to do a song for the 1996 movie starring Ewan McGregor, Robert Carlyle and Ewen Bremner.
The soundtrack of the film became a huge hit and featured fellow Britpop bands Blur and Pulp as well as US music stars Iggy Pop and Lou Reed.
However, the singer-songwriter turned down the chance to feature in the film about Edinburgh heroin addicts as he did not want to be associated with a film he thought was about train spotters.
"I would have done something, but honestly I thought it was about train spotters. I didn't know", Noel Gallagher told costume designer Rachel Fleming.
The story was revealed during a question and answer session with Trainspotting producer Andrew Macdonald and costume designer Rachel Fleming at a 20th anniversary screening of the film.
Macdonald said: "Danny is from near Manchester and he was very keen to have Noel Gallagher do something but there was a reason why he didn't do it.
"He came to the launch party in Cannes, but I don't know why he didn't do a piece of music."
Fleming then said: "I met Noel at a thing the other week and he said to me: 'I would have done something, but honestly I thought it was about train spotters. I didn't know.' That's what he actually said."
Macdonald also revealed that Lou Reed, whose song Perfect Day was used in the soundtrack, never liked the film.
The producer has also worked with Oscar-winner Boyle on the Trainspotting sequel, T2, which is due to be released in cinemas in January 2017.
He said the film was very different to its original as the characters had moved on from drug taking, but said he thought fans would enjoy the sequel.
Macdonald said: "It's 20 years later and they have all moved on, they are at different places in their lives and some of them may even have children.
"I think because of the integrity of it and Danny insisting it was the same actors, people will be okay with it.
"It is working out to be its own thing. But the characters aren't 20 years old anymore and you're not going to become 20 years old by watching it."
T2 was shot on various locations across Scotland during the northern summer and is currently being edited ahead of its release.
It is loosely based on writer Irvine Welsh's 2002 follow-up novel Porno and the author will feature in a cameo role.