The convening authority shall refer the record of each general court-martial to the staff judge advocate, who shall submit a written opinion thereon to the convening authority. If the final action of the court has resulted in an acquittal of all charges and specifications, the opinion shall be limited to questions of jurisdiction.