In the enforcement of the provisions of this chapter that govern the distribution, disposition, or expenditure of, or reporting obligations relating to, property held for charitable purposes, the attorney general may accept an assurance of discontinuance of any act or practice deemed in violation of such provision, from any person engaging in, or who has engaged in, such act or practice. Any such assurance must be in writing and be filed with and subject to the approval of the court. Such assurance of discontinuance is not an admission of a violation for any purpose, but proof of failure to comply with the assurance of discontinuance is prima facie evidence of a violation of this chapter.