Word or phrase that describes when a fictitious character quotes real writing/speech etc
Solution 1:
These references are called allusions. To allude to real literary works in a movie might contribute to verisimilitude, that is, these allusions might help the audience to forget that they're watching a fiction. Or they could be pretentious and heavy-handed, and remind the audience that they're watching a movie.