We see that BBC Dr Who producer / writer
Steven Moffat and his his predecessor Russell T Davies... in their quest
to make sure that all things 'Who' continuity wise and within the vast
story context of the tv series tie up nicely... have been
busy coming up with a credible answer as to how the Twelfth Doctor's
face has already popped up twice in the Who universe... That's quite a
feat, some mental gymnastics. Just goes to prove, if you really want to,
you can make anything fit. And yet, they still can't justify the
existence of Peter Cushing as a canon Dr / Doctor.. Who? http://www.radiotimes.com/news/2013-09-30/doctor-who-steven-moffat-has-an-explanation-for-peter-capaldis-earlier-appearances