Can the foreigner own a flat in condominium?

Buying a condominium unit in Thailand is an easiest option for the foreigners, and they can own an apartment in the condo under his personal name and get a Chanote (Title Deed). In this case foreigner owns a unit 100% Freehold. But there also are some restrictions, according to the Thai Law there is only 49% of the total number of units that foreigners can register under private name, and the other 51% have to be registered under Thai or company name.