a magistrate convicted an accused person after due trial for the offence of theft.after the trial,but before conviction the accused person sets up plea that the magistrate has no territorial jurisdiction to try him.what is the legality of plea of the accused?