(11) Every person detained in the civil prison in execution of the certificate may be so detained,-
(a) where the certificate is for a demand of an amount exceeding rupees one crore, up to three years, and
(b) in any other case, up to six months: Provided that he shall be released from such detention on the amount mentioned in the warrant for his detention being paid to the officer- in- charge of the civil prison.