> Did they tear down all the houses that don't comply with contemporary building standards?
No, they fined everyone that owns homes commercially that did not upgrade the homes to comply. And then fined them again. And again, until they complied.
Where did that happen? There were earthquakes recently in Italy that tore down super-dangerous but not illegal houses.
In fact the construction sector is a very bad example here, because old buildings are usually covered by separate regulations , thats not true for software.