He instantly perceived his mistake and understood its consequences.