If the attorney general admits that the petitioner is entitled to compensation, the court shall conduct a trial to determine the amount of compensation; provided that if the attorney general and the petitioner agree on the amount of the compensation, the court may issue a final judgment awarding the petitioner the amount agreed upon or, in its discretion, conduct a trial to determine the amount to award the petitioner.
If the attorney general denies that the petitioner is entitled to compensation, then the court shall conduct a trial to determine if the petitioner is entitled to compensation and the amount, if any.
HRS § 661B-2