It started as a go-for-broke experiment, but it wound up saving an ecosystem.