At any time within three years after the date of the entry of judgment under section 860c of this title (article 60c), the accused may petition the Judge Advocate General for a new trial on the grounds of newly discovered evidence or fraud on the court. If the accused’s case is pending before a Court of Criminal Appeals or before the Court of Appeals for the Armed Forces, the Judge Advocate General shall refer the petition to the appropriate court for action. Otherwise the Judge Advocate General shall act upon the petition.