Investors & landlords

you are entitled to one but not both.

The tax treatment is to use the option that is more favorable to the taxpayer.