A child with cerebral palsy was ordered out of an inflatable pool by council officers over safety concerns.