Combining magneto-hydrostatic constraints with Stokes profile inversions. IV. Imposing B=0 condition | Synapse