(1) A child of any age who is charged with a violation of state law punishable by death or by life imprisonment is subject to the jurisdiction of the court as set forth in s. 985.0301(2) unless and until an indictment on the charge is returned by the grand jury. When such indictment is returned, the petition for delinquency, if any, must be dismissed and the child must be tried and handled in every respect as an adult:
(a) On the offense punishable by death or by life imprisonment; and
(b) On all other felonies or misdemeanors charged in the indictment which are based on the same act or transaction as the offense punishable by death or by life imprisonment or on one or more acts or transactions connected with the offense punishable by death or by life imprisonment.
(2) An adjudicatory hearing may not be held until 21 days after the child is taken into custody and charged with having committed an offense punishable by death or by life imprisonment, unless the state attorney advises the court in writing that he or she does not intend to present the case to the grand jury, or has presented the case to the grand jury and the grand jury has not returned an indictment. If the court receives such a notice from the state attorney, or if the grand jury fails to act within the 21-day period, the court may proceed as otherwise authorized under this part.
(3) If the child is found to have committed the offense punishable by death or by life imprisonment, the child shall be sentenced as an adult. If the juvenile is not found to have committed the indictable offense but is found to have committed a lesser included offense or any other offense for which he or she was indicted as a part of the criminal episode, the court may sentence under s. 985.565. (4)(a) Once a child has been indicted pursuant to this section and has been found to have committed any offense for which he or she was indicted as a part of the criminal episode, the child shall be handled thereafter in every respect as if an adult for any subsequent violation of state law, unless the court imposes juvenile sanctions under s. 985.565.
(b) When a child has been indicted pursuant to this section, the court shall immediately transfer and certify to the adult circuit court all felony cases pertaining to the child, for prosecution of the child as an adult, which have not yet resulted in a plea of guilty or nolo contendere or in which a finding of guilt has not been made. If the child is acquitted of all charged offenses or lesser included offenses contained in the indictment case, all felony cases that were transferred to adult court pursuant to this paragraph shall be subject to the same penalties such cases were subject to before being transferred to adult court.