Notwithstanding the provisions of sections 47-10-21 and 47-10-22: 1. All reservations of minerals or mineral deposits other than coal, contained in all deeds and transfers of real property in this state; and 2. All conveyances and transfers of minerals or mineral deposits other than coal, separate from the surface rights, by mineral deed or otherwise, executed prior to January 1, 1943, hereby are declared legal and valid for all purposes. No action to contest the validity or legality of such reservations or conveyances or transfers by reason of any of the said provisions may be brought in the courts of this state unless commenced within ninety days after the taking effect of this code.
1-04-15. Validation of oil and gas leases adopted by board of county commissioners prior to July 1, 1941. All confirmations, approvals, and adoptions of oil and gas leases made by any board of county commissioners prior to July 1, 1941, and which comply substantially with the terms and conditions of chapter 38-09, are declared valid.
1-04-16. Validation of oil and gas leases made by executor, administrator, or guardian prior to March 7, 1941. A lease made for any of the purposes mentioned in section 30-13-05 and which has been executed and delivered under the authority of an order of a county court having jurisdiction, or which was approved by such court prior to March 7, 1941, is declared legal and valid.
1-04-17. Validation of oil and gas leases adopted by governing body of township, city, school district, or park district. All oil and gas leases executed prior to July 1, 1941, by the governing body of a township, city, school district, or park district, covering lands under its control, are declared to be valid.