The Pope or a bishop can give a dispensation to an impediment, giving the marriage retroactive validation called radical sanation or sanatio in radice (Latin: "healing in the root").
The Pope or a bishop can waive an obstacle, and this waiver is referred to as radical healing or restoration of the root (Latin: "healing in the root").