Any member of the visiting force or any dependant, who is detained in custody—
(a) under a sentence mentioned in section 13; or
(b) pending the determination by a service court of a charge brought against him or her,
is for the purposes of any legal proceedings in Saint Lucia, deemed to be in lawful custody.