(1) No amendment to the bylaws shall modify any restriction imposed through any means upon property held for charitable purposes unless, before or simultaneously with the adoption of the bylaws amendment, the restriction is modified:
(a) In the case of a restriction imposed pursuant to a trust instrument governed by chapter
11.110 RCW in which the nonprofit corporation is a trustee or a beneficiary, through an appropriate order of the court or the agreement of all interested parties, including the attorney general, under chapter
11.96A RCW; or
(b) In the case of any other restriction, pursuant to RCW
24.03A.190.
(2) A person who is a member or otherwise affiliated with a charitable corporation may not receive a direct or indirect financial benefit in connection with an amendment of the bylaws unless the person is itself a charitable corporation, the federal government, a state, a governmental subdivision, or an unincorporated entity that has charitable purposes. This subsection does not apply to the receipt of reasonable compensation for services rendered.