Me. Rev. Stat. tit. 14, § 1517 (2025)
The power of the court to require payment of costs or to refuse them as the condition of amendment or continuance is not affected by this Title.