The idea is inspired in Arnold Schwarzenegger's The Last Action Hero and Stallone's Demolition Man.
Both movies make references to the other actor. In the Last Action Hero there's a scene in some kind of Blockbuster where Stallone is featured as the leading actor for Terminator, even dressed up...