If it appears to the Secretary of State, in the case of a patient who is for the time being liable to be detained . . . under this Act (otherwise than by virtue of section 35, 36 or 38 above), that it is in the interests of the patient to remove him to Scotland, and that arrangements have been made for admitting him to a hospital . . . there, or, where he is not to be admitted to a hospital, for his detention in hospital to be authorised by virtue of the Mental Health (Care and Treatment)(Scotland) Act 2003 or the Criminal Procedure (Scotland) Act 1995 the Secretary of State may authorise his removal to Scotland and may give any necessary directions for his conveyance to his destination.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Where a person removed under this section was immediately before his removal subject to a restriction order or restriction direction of limited duration, the restriction order or restriction direction . . . shall expire on the date on which the first-mentioned order or direction would have expired if he had not been so removed.
In this section "hospital" has the same meaning as in the Mental Health (Care and Treatment)(Scotland) Act 2003 .
Reference in this section to a patient's detention in hospital being authorised by virtue of the Mental Health (Care and Treatment)(Scotland) Act 2003 or the Criminal Procedure (Scotland) Act 1995 shall be read as including references to a patient in respect of whom a certificate under one of the provisions listed in section 290(7)(a) of the Act of 2003 is in operation.