Me. Rev. Stat. tit. 14, § 7355 (2025)
If the plaintiff maintains his action, he shall be discharged and recover his costs; but if not, the defendant shall recover his costs and such damages as the jury assess; or if the defendant is defaulted or the parties consent, the court may assess the damages.