(1) Every person detained the civil prison in execution of a Certificate may be so detained- (a) where the Certificate is for a demand of an amount exceeding twenty five thousands, for a period of six months, and (b) in any other case for a period of six weeks: Provided that he shall be released from such detention- (i) on the amo...