A juvenile offender ordered to serve a term of confinement with the department of children, youth, and families who is subsequently sentenced to the department of corrections may, with the consent of the department of corrections, be transferred by the secretary of children, youth, and families to the department of corrections to serve the balance of the term of confinement ordered by the juvenile court. The juvenile and adult sentences shall be served consecutively. In no case shall the secretary credit time served as a result of an adult conviction against the term of confinement ordered by the juvenile court.