subsection, the court shall, on application of a party, consider any evidence submitted by the parties to the proceeding whether or not the evidence was considered at the hearing held under subsection (d) or (e)(3). (3) (A) If the court decides that the determination was not authorized by law, the court shall order the Attorney General to take such action as may be necessary to comply with the judgment of the court. (B) The court shall not make a determination to revoke a license unless the court finds, by clear and convincing evidence, that— (i) the Attorney General notified the licensee in writing of all reasons for the contemplated action of the Attorney General