Reading this BBC News item reminded me of the TNG episode Ship in a bottle where the holodeck character Moriarti is tricked into moving into an off-line table-top computer running a simulation of the holodeck, Enterprise, and universe, thereby neutralizing his threat to the real ship, Starfleet, ...