There is a much quoted phrase in Costa Rica between lawyers. Everything legal is not always right, and everything right is not always legal.
Many of the development projects of the last decade were put together by individuals with high hopes of raking in the dough, selling to unsuspecting buyers. They skipped doing the correct due diligence on the properties they bought to sell. They bought only to flip.
Even well-known Costa Rican developers built without all the paperwork and permissions required by law. They built fast to sell fast to the flocks of people coming to Costa Rica to buy property. There is one developer in so much trouble now in Guanacaste, he is telling his buyers to move into the condominiums they bought and demand squatters rights because he cannot give them clear title.
Other developers promised everything and anything to prospective buyers. There is a well-known adage when it comes to sales. A good salesperson needs a little larceny in their blood. Well, it appears that some sellers of real estate to foreigners in Costa Rica had a lot of larceny in their blood.