Separation of developmental compartments by a cell type with reduced junctional permeability