I thought Lelouch was in deep shit when Schneizel caught him at the shrine. I thought, oh lord, he's done, maybe he'll escape somehow, but he's been outmaneuvered.
Then he activated Guilford's Geass.
NEVER, EVER underestimate Lelouch's capacity to plan and scheme. He's a wily bastard.