. . " or where the undertaking is directed under section 6 to vest in the Foundation, the Foundation shall be deemed to be substituted in such licence or other instrument as if such licence or other instrument had been granted to the Foundation and the Foundation shall hold it for the remainder of the period for which the Society, trust or body would have held it under the terms thereof. (4) If, on the" . .