Although the Massachusetts marriage of two New York men is void under the laws of both states, the couple’s separation agreement is legally enforceable, a Manhattan Supreme Court judge has found.

Justice Phyllis Gangel-Jacob dismissed plaintiff David Gonzalez’s divorce action last week, finding his February 2005 marriage to Steven Green “null and void.”