Jude Law won critical acclaim for his starring role in the hit TV series The Young Pope, but now his real-life counterpart is getting in on the act – Pope Francis has appeared in a feature film.

The 80-year-old Argentinian pontiff plays himself in the movie, which is called Beyond the Sun.

The producers claim that it is the first time in the history of the Roman Catholic Church that a Pope has agreed to play a cameo role in a film.

The religious-themed movie, in which four young children from different cultures try to follow the teachings of Christ, will be launched at the Cannes Film Festival, which starts on May 17.

Not only is the Pope in the film – he inspired it.

The Holy Father reportedly asked producers to come up with a film aimed at young people that could communicate the message of the Gospels.

“Our excitement and gratitude toward His Holiness, Pope Francis, participating in this film is beyond words,” said Andrea Iervolino, one of the co-founders of AMBI Pictures, the company which made the film. “This is not just a movie for us, it’s a message, and who better to have on your side to deliver an important societal and spiritual message than the Pope. We are honoured and inspired by the level of collaboration from the Vatican.”