BOSTON (AP) — Civil unions for gay couples in Vermont must be treated as “the equivalent of marriage” in Massachusetts, the highest court in Massachusetts ruled Thursday.

The Supreme Judicial Court ruled that a couple who enters into a civil union in Vermont must dissolve that union before either person can marry a third party in Massachusetts.