Notwithstanding the provisions of this chapter that may otherwise be applicable to a trust, no provision thereof shall apply to any special needs trust, supplemental needs trust, or other similar trust established for a person with a disability as a beneficiary, including, without limitation, any trust established pursuant to the provisions of 42 USC Section 1396(p)(d)(4)A or C, as amended from time to time, or other similar federal or state statute, to the extent that the provision would disqualify the trust beneficiary at any time from eligibility for public needs-based assistance benefits for which the beneficiary would otherwise qualify.