### Godot version

4.0.3 and latest 4.1 (2d6b880987bc600cda586b281fcbe26791e92e09)

### System information

Manjaro Linux

### Issue description

When you change the root type of an imported scene (in my case it's a glb file) you can't change it back to a Node3D. Changing it to any other 3D node works though.

### Steps to reproduce

1. Import a glb file
2. Double click it to open the advanced import settings and change the root type to StaticBody3D or any other type that inherits from Node3D. Click reimport.
3. Now try to change it from StaticBody3D to Node3D. This will fail silently.

### Minimal reproduction project

[RootTypeBug.zip](https://github.com/godotengine/godot/files/11725039/RootTypeBug.zip)
Animation::LoopMode loop_mode = animation_loop_mode;
	switch (loop_mode) {
		case Animation::LOOP_NONE: {
			animation_play_button->set_icon(get_theme_icon(SNAME("MainPlay"), SNAME("EditorIcons")));
			animation_slider->set_value_no_signal(1.0);
			set_process(false);
		} break;
		case Animation::LOOP_LINEAR: {
			animation_player->play(p_name);
		} break;
		case Animation::LOOP_PINGPONG: {
			if (animation_pingpong) {
				animation_player->play(p_name);
			} else {
				animation_player->play_backwards(p_name);
			}
			animation_pingpong = !animation_pingpong;
		} break;
		default: {
		} break;
	}
}
void SceneImportSettings::_material_tree_selected() {