I would have preferred opening this on Github as a FR, but here we go:
We do have a software which can create Node-RED nodes via a JSON export. So the software creates a node with a certain ID. According to the documentation these node IDs get replaced (some remapping for config nodes also).
My understanding is that this behaviour is in place to avoid issues when importing nodes from any source so it wont break. But what if you intend to replace an existing node (matching by node id and type)? Is there any way nodes can override an already existing node?
If not: I would propose a flag when importing nodes via the import menu: "Replace existing duplicate nodes" which is off by default to match the current behaviour. If the flag is set, the import script will take care of some sanity checking and rewiring and replace the node with the new node.
This behaviour is relevant to normal nodes and config nodes.