This story originally appeared on The Advocate.Earlier this month, Republican State Sen. Brent Hagenbuch introduced Senate Bill 178, a bill that would amend the Texas family code to consider conducting a marriage ceremony for a “void marriage” a felony, according to local news outlet Chron. The law would add a third-degree felony charge to those who conduct ceremonies involving minors, and other marriages considered void under a certain section of the family code.But despite the fact that the 2015 Supreme Court decision Obergefell v. Hodges effectively legalized same-sex marriage nationwide, Texas still has a state law on the books considering such marriages to be void. That means, as Chron reported, that SB 178 would apply to same-sex marriages as currently written.Related: Texas judge who refused to marry gay couples wins $640k in lawsuitHagenbuch told Chron that the bill was not meant to target same-sex weddings and that any language meant to include it would be removed as the legislation makes its way through committees. The Advocate has reached out to Hagenbuch for comment and will update if we hear back.Emily Berman, a constitutional law professor at the University of Houston Law Center called the bill “patently unconstitutional” in a statement to Chron, noting that it would create a different set of laws for same-sex couples, which the Supreme Court made illegal in Obergefell.Even after Obergefell, Texas has resisted marriage equality. In June, a Texas judge ruled that a state justice of the peace based in Waco would not be disciplined for refusing to perform same-sex weddings. McLennan County Justice of the Peace Dianne Hensley had argued that performing same-sex marriages infringed on her religious liberty rights. Travis County Judge Maya Guerra Gamble ruled in Hensley’s favor, awarding her $10,000 as well as $630,000 in attorney’s fees. Related: Texas judge who refused to officiate same-sex weddings sues to overturn marriage equalityFollowing d