If it appears to the Secretary of State, in the case of a patient who—
that a transfer under this section would be in the interests of the patient, the Secretary of State may, with the consent of the Minister exercising corresponding functions in Northern Ireland, transfer responsibility for the patient to that Minister.
Where responsibility for such a patient is transferred under this section, the patient shall be treated—
Where a patient responsibility for whom is transferred under this section was immediately before the transfer subject to a . . . restriction direction of limited duration, the . . . restriction direction to which he is subject by virtue of subsection (2) above shall expire on the date on which the first-mentioned . . . direction would have expired if the transfer had not been made.