Except in a case requiring registration pursuant to Section 290, a trial court hearing an application for a certificate of rehabilitation before the applicable period of rehabilitation has elapsed may grant the application if the court, in its discretion, believes relief serves the interests of justice.