When forest conversion is profitable