A divided state Supreme Court has ruled that homeless sex offenders charged with violating the previous version of Megan’s Law were not exempt from the requirement that they must notify state police of their current or intended residences.

Megan’s Law was amended by the legislature in December to require homeless sex offenders to register “a temporary habitat or other temporary place of abode or dwelling, including, but not limited to, a homeless shelter or park, where the individual is lodged.”