7. Courts empowered to pass orders for detention.

(a) a Court of the District Magistrate;
(b) a Court of a Magistrate of the First Class.