The Princess Diaries is both a series of books and movies.
In the book Princess Diaries 6 (2005) princess Mia from the book comments on "The Princess Diaries 1 (2001) & 2 (2004)" movies :
Although to tell the truth, both of those movies took a lot of liberties with the facts. It was bad enough in the first one that they made my dad dead and Grandmère all nice and everything.
Now, in the latest one, I supposedly broke up with Michael! Like that’s going to happen. That was entirely projection on the part of the movie studio, I guess to make the story more exciting, or something. As if my life isn’t exciting enough without any help from Hollywood.
Is there a term for this kind of reference ? The book references to the movie or the movie references to the book ?