If anything, this is evidence that coding elegance has value.
The unexpected part here being that AI brings specks of elegance to a terrible, inelegant codebase.