A knifeman who threatened to 'shut down' a charity base after calling out a suspected paedophile has walked free from court.