Concessions for mining or exploration of ores may not be granted to foreign governments or their representatives, including foreign state-owned enterprises and companies in which foreign states hold equity participation, and public officials acting in the name of foreign states.
"Article 1.- The State has the absolute, inalienable and imprescriptible domain of all the mineral resources that exist in the national territory and in its patrimonial sea, whatever the origin, physical state or nature of the substances they contain. The State will endeavor to exploit mining wealth by itself or through agencies that depend on it.
However, the State may grant concessions for the recognition, exploration, exploitation and benefit of mineral resources, in accordance with this law.
[...]
Article 7.- The State, alone or in association with other States, will have priority to explore and exploit the country's natural resources. The conventions, treaties or agreements with other States, related to this activity, must be approved by the Legislative Assembly. However, they will not affect current concessions granted in accordance with this law, except as provided in article 6.
[...]
Article 9-Any natural or legal person, national or foreign, may acquire mining permits or concessions, or have part in them, except:
a) Foreign governments or states, except as provided in article 7 of this Law. [..]
This prohibition will be extended to the relatives, in the first degree of consanguinity or affinity, of the officials and employees indicated in the previous paragraphs, as well as to the legal persons whose shareholders or representatives are some of the aforementioned officials or their relatives. This provision will be in force for the three years following the date of termination of the respective employment, during which period the permit or concession application process may not be initiated either. This prohibition shall not include permits or concessions acquired by inheritance or legacy, nor those obtained six months or more prior to appointment to office.[...]" (Mining Code (No. 6797, 10/04/1982), last amended by Law no. 9647 of 12/19/2018, Articles 1, 7 and 9 [google translation])
Mining Code (No. 6797, 10/04/1982), last amended by Law no. 9647 of 12/19/2018, Articles 1, 7 and 9
[<a href="http://www.pgrweb.go.cr/scij/Busqueda/Normativa/Normas/nrm_texto_completo.aspx?param1=NRTC&nValor1=1&nValor2=48839&nValor3=115415&strTipM=TC">Code</a>]