Place it just after the boast or clever claim, then follow it with It Was At This Moment He Knew to mark the realisation, and finish with Fail Sound Meme when the plan falls apart.