My company is currently at a rebranding process and the brand names have been used in the sources' package names but these names are only visible to developers who maintain this code so nobody from project management is really interested in changing them considering also that it would imply the recompiling of several old components.

What factors do I need to consider when deciding on a change like that?

I don't know if I should worry about legal issues or not and if so, how to address this with project management.