37.—(1) Every person arrested in pursuance of any writ, warrant or order of any court having civil jurisdiction shall be brought without delay before the court by which the writ, warrant or order was issued, awarded or made.
(2) If the court is not then sitting, the person shall be delivered to the Superintendent for intermediate custody, and the Superintendent shall cause the person to be brought before that court at its next sitting in order that the person may be dealt with according to law.