law: 142. Powers of courts-martial and disciplinary courts in relation to proceedings under thisAct.
  Any trial by a court-martial or disciplinary court under the provisions of this Act shall be deemed to be a judicial proceeding within the meaning of sections 193 and 228 of the Indian Penal Code
  (45 of 1860), and the court-martial or disciplinary court shall be deemed to be a court within the meaning of 2[sections 345 and 346 of the Code of Criminal Procedure, 1973 (2 of 1974).]