When the Attorney General commences an action setting forth the name of the person rightfully entitled, or when petition is filed upon the relation of a party claiming title, the Attorney General shall not dismiss the action without the consent of the claimant, but the court shall investigate the claim and determine the right, if so desired by the person on whose relation the petition is filed, and the claimant may have counsel of his or her choice to control the action in the claimant's behalf.
Fla. Stat. § 80.02