Billy Connolly was "purged" from the records from his former Catholic primary school, it will be claimed during a special programme airing on Tuesday.
The 74 year old comedian, who has Parkinson's disease, will say on ITV that he was treated as a "non-person" at St Peter's Boys School in the Patrick area of Glasgow.
In a one-hour programme later, Dame Judi Dench, Sir Elton John and Peter Kay will be among a host of stars celebrating the work of Connolly.
The writer Armando Iannucci, who attended St Peter's after Connolly, will tell the programme Connolly's routines were considered blasphemous by teachers.
He said: "The head mistress sat us down and told us it was bordering on mortal sin to listen to Billy Connolly because at the time it was full of blasphemous filth.
"Then he became famous and was invited back to the school."
According to ITV, 'Billy Connolly & Me: A Celebration' - which airs at 9pm on Tuesday - will feature the comic sharing "his thoughts on such topics as turning swearing into an art form and the underestimated power of laughter."
St Peter's Boys School is no longer a school, having merged with another school.
A Monthly Gift Of $11 Makes A World Of Difference
In a world of fake news there’s never been a greater need for quality Christian journalism. Premier’s mission is to provide the Church with the most up to date and relevant news, told from a Christian perspective. But we can’t do it without you.
Unlike many websites we haven't put up a paywall — we want to keep our journalism free at the point of need and as open as we can. Premier’s news output takes a lot of time, money and hard work to produce. No one in the USA is sharing news like we are across radio, magazines and online so please help us to continue that today.
For a monthly gift of $11 or more we’d also be able to send you a free copy of the brand new Premier Bible, a wonderful Anglicised version of the NLT packed with exclusive bonus content, reading plan and resources to help you get the most out of scripture.
Your monthly support will make a world of difference. Thank you.