A case argued Tuesday at the New Jersey Supreme Court will determine whether a state statute requiring GPS monitoring of sex offenders released from jail can be applied retroactively.

Lawyers argued over whether the 2007 Sex Offender Monitoring Act is a civil remedy, designed to rehabilitate an offender and protect the public, or a form of punishment that triggers the U.S. Constitution’s ex post facto clause.