If land is sold that has been in the owner's possession for less than ten years, the profit must normally be taxed. However, if the property is occupied by the owner, the situation is different: In this case, no tax is due on the sale - even if it is a garden house that is illegal to build...