In a non-binding ruling, the Mexican Supreme Court of Justice of the Nation decided earlier this month that it was unconstitutional to deny same-sex couples the right to wed, the Associated Press reports.
The justices weren't deciding whether to overturn bans in individual states but offering a "jurisprudential thesis" to Mexico's states. The thesis stated that any state law which considers the purpose of marriage to be "procreation, and or defines (marriage) as celebrated between a man and a woman, is unconstitutional."
Judges and courts in individual states can now consider the thesis if a marriage case is tried in their jurisdiction. A handful of Mexico's 31 states have already legalized marriage equality, as well as the nation's capital and largest metropolis, Mexico City,