In all suits under this Act, the court may investigate and determine all questions of conflicting or controverted titles, remove clouds from, and establish and confirm the title to the right to drill for and remove oil and gas from any of such lands.
765 ILCS 520/6