Cy-près doctrine
The cy-près doctrine ( see-PRAY; Law French, lit. 'so close', modern French: si près or aussi près) is a legal doctrine which allows a court to amend a legal document to enforce it "as near as possible" to the original intent of the instrument, in situations where it becomes impossible, impracticable, or illegal to enforce it under its original terms. The doctrine first arose in the English courts of equity, originating in the law of charitable trusts, but it has since been applied in the context of class action settlements in the United States.