"All Legal" ....might not be the right approach - it is possibly more a case of 'There was no enforcement of the rules' at the time.It’s just what they did ALL legal and done through an insurance company and a body shop.
It was probably always illegal, but only recently did the enforcement of those rules come into being.
Not saying that is the case, but it is a huge possibility.