The local authority where nine-year-old girl died has admitted it should have treated pollution levels as a public health emergency.