He'd been plotting for months to kidnap and abuse a young girl while he posed as a policeman – but authorities swooped in before he could act.