After changing the NPC's name, trade restrictions disappear(such as blocked, reluctant, willing), but only visually.
It's confusing when you come to trade with this NPC after some time, but you forgot what the restrictions were.
Sheriff NPC as an example