duty magistrate