37. If the Collector or officer authorized under section 6 is opposed or impeded in doing anything directed or permitted by this Act, he shall, if a Magistrate, enforce compliance, and, if not a Magistrate, he shall apply to a Magistrate and such Magistrate shall enforce compliance.