It shall and may be lawful to and for any person or persons, under the age of 18, by the direction of the court of chancery, signified by an order made upon hearing all parties concerned, on the petition of the person or persons for whom such infant or infants shall be seized or possessed in trust, or of the mortgagor or mortgagors, guardian or guardians of such infant or infants, or person or persons entitled to the monies secured by or upon any lands, tenements, or hereditaments, whereof any infant or infants are or shall be seized or possessed by way of mortgage, or of the person or persons entitled to the redemption thereof, to convey and assure any such lands, tenements, or hereditaments, in such manner as the said court of chancery shall, by such order so to be obtained, direct to any other person or persons; and such conveyance or assurance so to be had and made, as aforesaid, shall be as good and effectual in law, to all intents and purposes whatsoever, as if the said infant or infants were, at the time of making such conveyance, or assurance, of the full age of 18.
D.C. Code § 42-808