Legally, any building is considered as being a part of land over which such building is constructed. However, a building may be considered as a separation part when it is a tenant of land who builds a building under a leasing agreement. Therefore, a foreigner may own any building on his rented land in Thailand.