Billy Dee Williams pranked 'Star Wars' co-star Mark Hamill before royal meeting — and the photo is hilarious

Luke Skywalker may be thick as thieves with twin sister Princess Leia, but in real life, Mark Hamill’s royal interactions have been a bit rockier.

While much has been made of Princes William and Harry’s Star Wars fandom — the brothers shot cameos as stormtroopers for 2017’s The Last Jedi but were cut from the final edit — it turns out that the British royals have been hobnobbing with the Rebel Alliance for decades.

Billy Dee Williams and Mark Hamill (pictured with <i>The Empire Strikes Back</i> co-stars Carrie Fisher and Harrison Ford) had a hilarious moment with Princess Margaret. (Photo: Lucasfilm/Sunset Boulevard/Corbis via Getty Images)
Billy Dee Williams and Mark Hamill (pictured with The Empire Strikes Back co-stars Carrie Fisher and Harrison Ford) had a hilarious moment with Princess Margaret. (Photo: Lucasfilm/Sunset Boulevard/Corbis via Getty Images)

Billy Dee Williams, who will reprise his role as Lando Calrissian in Star Wars: Episode IX, has photographic proof. On Wednesday morning the 81-year-old actor tweeted a photo from the 1980 royal premiere of The Empire Strikes Back, which shows him, Hamill, Frank Oz (Yoda), and Peter Mayhew (Chewbacca) lining up to greet Princess Margaret, sister of Queen Elizabeth II and supreme goddess of The Crown.

Hamill kept his head down while greeting Princess Margaret. (Photo: Rex/Shutterstock)
Hamill kept his head down while greeting Princess Margaret. (Photo: Rex/Shutterstock)

Hamill has his head respectfully lowered, and there’s a hilarious reason: According to the actor, a mischievous Williams had pranked him into believing that looking a royal directly in the eyes would get him the Anne Boleyn treatment (well, minus the beheading).

The confession has Star Wars fans in stitches — with many saluting Williams’s real-life Lando spirit.

But fear not: Young Hamill did still get an eyeful of the royal, as seen in this photo a fan shared on Twitter last October. There he is looking absolutely delighted and smitten — or perhaps just relieved that he dodged prison time? — as co-star Carrie Fisher locks eyes with her fellow princess.

Make no mistake: Even Lando knows better than to mess with Leia.

Read more from Yahoo Entertainment: