Royal officials refuse to comment on reports that the princes played stormtroopers in the sci-fi saga when they visited the film's set in April 2016

Receive the latest entertainment-news updates in your inbox

John Boyega has said the royal duo filmed a scene during their visit to London's Pinewood Studios, though it's unclear whether it made the final cut.

Prince William and Prince Harry joined the cast of "Star Wars: The Last Jedi" at the film's European premiere Tuesday, delighting fans who braved the London cold for a glimpse of Hollywood stars and British royalty.

But cast and crew were silent on reports that the royal siblings make a cameo appearance in the much-anticipated film.

The tuxedo-clad princes walked the red carpet at London's Royal Albert Hall for the black-tie gala, a benefit for their Royal Foundation charity — though without William's pregnant wife Kate or Harry's fiancee, Meghan Markle.

Royal officials have refused to comment on reports that the princes recorded a scene playing Stormtroopers in the sci-fi saga when they visited the film's set in April 2016. At the time they were filmed meeting crew members, battling with light sabers and hugging a Wookie.

London-born star Boyega was joined on the red carpet by fellow cast members including Daisy Ridley, Adam Driver, Andy Serkis, Benicio del Toro, Anthony Daniels — who has played C-3PO in the "Star Wars" series since 1977 — and Mark Hamill, who returns as Luke Skywalker.

Hours before the screening, hundreds of fans lined up on one of the coldest days of the year for a glimpse of the stars, the royals and a phalanx of Stormtroopers who marched in formation up the red carpet.

"You never get used to this kind of passion and enthusiasm," Hamill said. "It's just wonderful. The fans have been so supportive over the years. Their enthusiasm is infectious."

The eighth film in the "Star Wars" series, "The Last Jedi" had its world premiere Sunday in Los Angeles. The adventure is a follow-up to "The Force Awakens," which brought the franchise back to movie screens in 2015.

It is the last film to feature Carrie Fisher as Princess Leia. Fisher died in December 2016 at 60, shortly after completing her final scenes.

Hamill said fans were helping him get through his sadness at Fisher's death.