means that
deeply established habits or character traits are difficult to change, even if outward appearances change.
also
The wolf changes his coat, not his nature.
Imagine a case where people can’t change their character, especially their faults.How one looks might change but personality stays the same.; then “A leopard can’t change its spots” fits well.