Investors and rental owners

If you are renting out the property then it can no longer be your principal residence.......

Therefore when you dispose of the rental, you will be selling a revenue property, presumably for a taxable Capital gain.