The Palace gave its approval for the blink-and-you'll-miss-it cameo.