Concessions to perform any type of development or activity in the restricted maritime-terrestrial zone (150  meters  from  the  public  zone  line,  which  includes  the  zone  within  50 meters from the high tide line) shall not be granted to foreigners who have not resided in Costa Rica for at least five years, to companies or entities domiciled abroad, to entities incorporated in the country by foreigners or to enterprises in which over 50% of the capital stock is owned by foreigners.
"CHAPTER II - Maritime Terrestrial Zone
Article 9.- Maritime terrestrial zone is the strip two hundred meters wide along the entire length of the Atlantic and Pacific coastlines of the Republic, whatever their nature, measured horizontally from the ordinary high tide line and the land and rocks that expose the sea at low tide.
For all legal purposes, the maritime terrestrial zone includes islands, islets and maritime cliffs, as well as all land or natural formation that rises above the ocean level within the territorial sea of ​​the Republic. The Isla del Coco is excepted, which will be under the direct domain and possession of the State and those other islands whose domain or administration is determined in this law or in special laws.
Article 10.- The maritime terrestrial zone is made up of two sections: the PUBLIC ZONE, which is the strip of fifty meters wide from the ordinary high tide, and the areas that are uncovered during low tide; and the RESTRICTED ZONE, consisting of the strip of the remaining one hundred and fifty meters, or by the other lands in the case of islands.
The islets, cliffs and other small areas and natural formations that protrude from the sea correspond to the public zone.
[...]
CHAPTER VI - Of the Restricted Zone and its Concessions
Article 39.- Only in the restricted zone, concessions related to the maritime- land zone may be granted , except for special provisions of this law.
[...]
Article 41.- The concessions will only be for the use and enjoyment of certain areas in the restricted zone, for the term and under the conditions that this law establishes.
[...]
Article 47.- No concessions will be granted:
a) To foreigners who have not resided in the country for at least five years;  
b) To public limited companies with bearer shares; 
c) To companies or entities domiciled abroad; 
ch ) To entities incorporated in the country by foreigners; and 
d) To entities whose shares or quotas or capital correspond more than fifty percent to foreigners.
The entities that have concessions may not assign or transfer quotas or shares, nor their partners, to foreigners. In any case, transfers that are made in contravention of the provisions herein will be invalid.[...]" (Law no. 6043 on the Maritime-Terrestrial Zone (03/02/1977), last amended by Law no. 9974  of 04/09/2021, Articles 9, 10, 39, 41 and 47 [google translation])
Law no. 6043 on the Maritime-Terrestrial Zone (03/02/1977), last amended by Law no. 9974  of 04/09/2021, Articles 9, 10, 39, 41 and 47
[<a href="http://www.pgrweb.go.cr/scij/Busqueda/Normativa/Normas/nrm_texto_completo.aspx?nValor1=1&nValor2=32006">Law</a>]