From planar defect in opal to planar defect in inverse opal.