Twelfth Doctor
In "Extremis" (2017), the simulated version of the Twelfth Doctor eventually realized the truth and emailed a recording of the Monks' simulation to the real Twelfth Doctor through his sonic sunglasses, warning him of the coming invasion.