The court must decide all questions of law which arise in the course of a trial.
Idaho Code § 19-2129