In some locations you can't rent out places without minimum energy efficiency ratings, which then leads to insulation and heat pumps getting installed.
This is referred to as "Minimum Energy Efficiency Standards (MEES)" and seems to have been pioneered in the UK and adopted by Netherlands and France and then the EU generally.