if the holders of shares or members in a class all agree, by written consent or resolution, to a variation of the class rights, the variation may take effect on the date of, or as specified in, the consent or resolution. No holder of shares or member in the class may apply to the court to have the variation disallowed in such circumstances; and