An assistant trial counsel of a general court-martial may, under the direction of the trial counsel or when he is qualified to be a trial counsel as required by
section 827 of this title (article 27), perform any duty imposed by law, regulation, or the custom of the service upon the trial counsel of the court. An assistant trial counsel of a special court-martial may perform any duty of the trial counsel.