Gordon helps in archaeological reinterpretation of the past through an electronic device, much like Voyager's Doctor, contained himself within the device, helps correct the Kyrian historical database.
The Doctor is called upon to answer charges of warmongering and brutality - like Pu Yi in that film - and the final scene echos the film's, in which Pu Yi stands in the throne hall and disappears from sight before we time cut to several years later to see a tour guide telling visitors what became of him.