Fox411 spoke to actor Bill Nighy and has learned that a not terribly sober Keith Richards of the Rolling Stones has filmed his cameo as Johnny Depp's swashbuckling dad in Pirates of the Caribbean: At Worlds End which is shooting in Palmdale, California.

Nighy wasn't on set when Richards came for his big Hollywood moment, but he more or less confirmed a tale that Fox411 had heard earlier:

RELATED: Johnny Depp Is Ready to Play Jack Sparrow at Kids' Parties to Keep the Spirit Alive

Richards, no stranger to substances and liquids, was left to his own devices in his trailer before his big scene. That wasn't a good idea. When the time came to shoot, he was a bit "wobbly." To keep him straight, director Gore Verbinski held Richards by the shins.{@@@[email protected]@@}{@@@[email protected]@@}"You've got to keep straight," Verbinski told him.{@@@[email protected]@@}{@@@[email protected]@@}"If you'd wanted straight, then you got the wrong man," Richards replied huskily.{@@@[email protected]@@}{@@@[email protected]@@}Richards' pirate costume, sources say, closely resembles Depp's, with a different colored bandana. The two had such a good time together that Depp kept a souvenir from Richards' short visit: a set of stairs built for Richards to get in and out of his trailer, which he signed to Depp with the salutation, "A step too far."

Pirates of the Caribbean: At Worlds End hits theatres on May 25, 2007.