Why central banks were both lucky and smart