If the jurors return a verdict of guilty against the accused, the court, before it is accepted, shall ascertain whether it conforms to the law of the case. If, in the opinion of the court, the verdict does not conform to the requirements of the law of the case, the court, with proper instructions as to the error, shall direct the jurors to reconsider the verdict and the verdict cannot be accepted nor recorded until it is rendered in proper form. But if the punishment imposed by the jurors in the verdict, when they are authorized by law to determine the punishment, is not in conformity to the law of the case in that regard, the court may proceed as follows:
N.D.C.C. § 29-22-26