As to all lands acquired by the United States within this state for the purposes mentioned in §11-18-101 or similar purposes, the state does not, by granting this consent, surrender or cede its legislative, executive and judicial jurisdiction over the same, but grants to the congress of the United States the right to enact such laws and make such rules and regulations as may be necessary to protect its title to and possession of such lands as may be acquired by it for such purposes, it being the intent of this section to establish a uniform consent and cession as to all lands owned or acquired by the United States within this state for the above mentioned and all other federal purposes, except those enumerated in the Constitution of the United States, article 1, § 8, to-wit: lands for the erection of forts, magazines, arsenals, dockyards and other needful buildings.