Law could give teenagers a second change