“It does not follow, however, that the invalidity of the investigation is to be completely ignored by the Court during trial. When the breach of such a mandatory provision is brought to the knowledge of the Court at a sufficiently early stage, the Court, while not declining cognizance, will have to take the necessary steps to get the illegality cured and the defect rectified, by ordering such reinvestigation as the circumstances of an individual case may call for. Such a course is not altogether outside the contemplation of the scheme of the Code as appears from section 202 under which a Magistrate taking cognizance on a complaint can order investigation by the police. Nor can it be said that the adoption of such a course is outside the scope of the inherent powers of the Special Judge, who for purposes of procedure at the trial is virtually in the position of a Magistrate trying a warrant case. When the attention of the Court is called to such an illegality at a very early stage it would not be fair to the accused not to obviate the prejudice that may have been caused thereby, by appropriate orders, at that stage but to leave him to the ultimate remedy of waiting till the conclusion of the trial and of discharging the somewhat difficult burden under section 537 of the Code of Criminal Procedure of making out that such an error has in fact occasioned a failure of justice. It is relevant in this context to observe that even if the trial had proceeded to conclusion and the accused had to make out that there was in fact a failure of justice as the result of such an error, explanation to section 537 of the Code of Criminal Procedure indicates that the fact of the objection having been raised at an early stage of the proceeding is a pertinent factor. To ignore the breach in such a situation when brought to the notice of the Court would be virtually to make a dead letter of the peremptory provision which has been enacted on grounds of public policy for the benefit of such an accused. It is true that the peremptory provision itself allows an officer of a lower rank to make the investigation if permitted by the Magistrate. But this is not any indication by the Legislature that an investigation by an officer of a lower rank without such permission cannot be said to cause prejudice. When a Magistrate is approached for granting such permission he is expected to satisfy himself that there are good and sufficient reasons for authorising an officer of a lower rank to conduct the investigation. The granting of such permission is not to be treated by a Magistrate as a mere matter of routine but it is an exercise of his judicial discretion having regard to the policy underlying it.”