That formula is very unfair for properties purchased in the last 15 years, that's for sure.
You could have bought a house for €100,000 10 years ago, and rented it out for 4 years at which point it may have been worth €200,000 and then moved in. Now 6 years later you want to sell it and it may...