That’s an excellent point. That’s exactly what happened with Black Panther.
To be fair, at least Black Panther actually WAS black from start to finish in the original comics, so it at least worked well in terms of staying true to the story. It’s not quite the same thing as what they did to Ariel. A better example would be closer to Captain America getting a race lift to African American or Hispanic in one of the movies.