Yesterday I was watching an old episode of Doctor Who from the Colin Baker years (1984-1986) and the annoying Bonnie Langford year (1986-1987). The doctor is on trial back on Gallifrey with his evil alter-ego as prosecutor.
In this particular episode, the Doctor must enter the Matrix, a place where nothing is real and everything is an illusion. Sound familiar at all?