The foundation was rebuilt in 1990 to prevent it from collapsing, but it did stand for about 600 years before that! The tower's foundation was originally built on silt but that silt has clay underneath. It's why modern construction does soil analysis first. Or, at least they should.
Things still collapse because soil analysis is skipped, like this bridge in Saskatchewan that collapsed in 2018 on the same day it opened to the public and before anyone actually crossed it.
Honestly, good on the judge for throwing out the case even if the guy was breaking the law. The evidence they collected was done so against the rules and the police officers worked together to lie to the court to hide that fact. Just because officers found evidence of actual crimes doesn't make it okay to break the rules.
It was also completely unnecessary. They arrested the guy for impaired driving when they saw he had a gun with an extended mag in the back seat? Why not just arrest him for the gun??