Maybe the technicians talked to the Zora AI and explained what was going to happen and why? Then Zora allowed it to happen since it wasn't a hostile action towards Discovery?How can Starfleet HQ make the nacelles on the Discovery non-detachable when the Sphere is protecting the ship and wouldn't allow any such structural changes?
How did Starfleet HQ get past the Sphere?