I mean, if you write a western with a character called Luke Skywalker, on a planet called coruscant, it’s pretty bad because it’s just shitty writing unless you’re doing a direct spoof.
Now, a western with Luke Skywalker, on a planet called tatooine, with him as a gunslinger recruited by a marshal to go after a notorious bank robber and killer that turns put to be his dad? That’s good because it’s doing something interesting, but expect to hear lawyers.
My rule for whether or not something is fair in that regard is who profits.
A big company, idgaf at all. A single writer/creator, maybe don’t reuse their names because it’s kinda shitty to rip off an actual creator rather than investors. But even then, if you’re not trying to ride their coattails, idgaf
That is called impaction removal, and I have done that to people for fun and profit.