The Twelfth Doctor existed as virtual construct in a world created by the Monks, so that the could plan they perfect invasion of Earth. (TV: Extremis)