### Godot version

v4.1.beta.custom_build [c0d8d91b1]

### System information

macOS 13.3.0 - Vulkan (Forward+) - integrated Apple M1 Pro - Apple M1 Pro (8 Threads)

### Issue description

When batch renaming nodes it won't check for already used unique name. This will lead to the unique name being revoked with those warning. 
<img width="870" alt="Capture d’écran 2023-06-15 à 23 56 06" src="https://github.com/godotengine/godot/assets/66184050/8dbd861f-ca06-4217-9942-7f660dcbc76d">
Expected behavior would be a popup similar to this one being fired when doing the same rename with basic rename and preventing node rename.
<img width="439" alt="Capture d’écran 2023-06-15 à 23 56 21" src="https://github.com/godotengine/godot/assets/66184050/db77881b-fa6c-46b1-8746-e715b3846d9f">


### Steps to reproduce

1. create a scene with a root two child and one grand child
2. make unique name the scond child and the grand child
3. batch rename the two child to "Node"
4. see the warning and the unique name being revoked

### Minimal reproduction project

[Test.zip](https://github.com/godotengine/godot/files/11763614/Test.zip)
with MRP start at step 3
return (script_types->find(p_type));
}
bool SceneTreeEditor::can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const {
	if (!can_rename) {
		return false; //not editable tree
	}
	Dictionary d = p_data;
	if (!d.has("type")) {
		return false;
	}
	TreeItem *item = tree->get_item_at_position(p_point);
	if (!item) {
		return false;
	}
	int section = tree->get_drop_section_at_position(p_point);
	if (section < -1 || (section == -1 && !item->get_parent())) {
		return false;
	}
	if (String(d["type"]) == "files") {
		Vector<String> files = d["files"];
		if (files.size() == 0) {
			return false; //weird
		}
		if (_is_script_type(EditorFileSystem::get_singleton()->get_file_type(files[0]))) {
			tree->set_drop_mode_flags(Tree::DROP_MODE_ON_ITEM);
			return true;
		}
		bool scene_drop = true;
		for (int i = 0; i < files.size(); i++) {