### Godot version

4.0.stable, 4.1.3.stable, 4.2.rc1

### System information

Fedora 38, GeForce RTX 4090 (NVIDIA 535.129.03)

### Issue description

`--rendering-method mobile` doesn't *actually* make a Forward+ project use the Mobile rendering method, even though the command line output says so.

### Project using Forward+ rendering method

### No CLI argument (use Forward+)

Looks like Forward+.

```
❯ bin/godot.linuxbsd.editor.x86_64 --path ~/Documents/Godot/test_rendering_method_cli_arguments 
Godot Engine v4.2.rc.custom_build.368e87aa0 - https://godotengine.org
Vulkan API 1.3.242 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 4090
```

### `--rendering-method mobile`

Looks like Forward+.

```
❯ bin/godot.linuxbsd.editor.x86_64 --path ~/Documents/Godot/test_rendering_method_cli_arguments --rendering-method mobile          
Godot Engine v4.2.rc.custom_build.368e87aa0 - https://godotengine.org
Vulkan API 1.3.242 - Forward Mobile - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 4090
 
WARNING: SDFGI can only be enabled when using the Forward+ rendering backend.
     at: environment_set_sdfgi (./servers/rendering/storage/environment_storage.cpp:652)
```

#### `--rendering-method gl_compatibility` (or `--rendering-driver opengl3`)

Looks like Compatibility.

```
❯ bin/godot.linuxbsd.editor.x86_64 --path ~/Documents/Godot/test_rendering_method_cli_arguments --rendering-method gl_compatibility
Godot Engine v4.2.rc.custom_build.368e87aa0 - https://godotengine.org
OpenGL API 3.3.0 NVIDIA 535.129.03 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce RTX 4090
 
WARNING: SDFGI can only be enabled when using the Forward+ rendering backend.
     at: environment_set_sdfgi (./servers/rendering/storage/environment_storage.cpp:652)
WARNING: Glow is not supported when using the GL Compatibility backend yet. Support will be added in a future release.
     at: environment_set_glow (./servers/rendering/storage/environment_storage.cpp:387)
```


### Project using Mobile rendering method

### No CLI argument (use Mobile)

Looks like Mobile.

```
❯ bin/godot.linuxbsd.editor.x86_64 --path ~/Documents/Godot/test_rendering_method_cli_arguments 
Godot Engine v4.2.rc.custom_build.368e87aa0 - https://godotengine.org
Vulkan API 1.3.242 - Forward Mobile - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 4090
 
WARNING: SDFGI can only be enabled when using the Forward+ rendering backend.
     at: environment_set_sdfgi (./servers/rendering/storage/environment_storage.cpp:652)
```

### `--rendering-method forward_plus`

Looks like Mobile.

```
❯ bin/godot.linuxbsd.editor.x86_64 --path ~/Documents/Godot/test_rendering_method_cli_arguments --rendering-method forward_plus    
Godot Engine v4.2.rc.custom_build.368e87aa0 - https://godotengine.org
Vulkan API 1.3.242 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 4090
```

#### `--rendering-method gl_compatibility` (or `--rendering-driver opengl3`)

Looks like Compatibility.

```
❯ bin/godot.linuxbsd.editor.x86_64 --path ~/Documents/Godot/test_rendering_method_cli_arguments --rendering-driver opengl3
Godot Engine v4.2.rc.custom_build.368e87aa0 - https://godotengine.org
OpenGL API 3.3.0 NVIDIA 535.129.03 - Compatibility - Using Device: NVIDIA - NVIDIA GeForce RTX 4090
 
WARNING: SDFGI can only be enabled when using the Forward+ rendering backend.
     at: environment_set_sdfgi (./servers/rendering/storage/environment_storage.cpp:652)
WARNING: Glow is not supported when using the GL Compatibility backend yet. Support will be added in a future release.
     at: environment_set_glow (./servers/rendering/storage/environment_storage.cpp:387)
```

MRP visuals for reference:

Forward+ | Mobile | Compatibility
-|-|-
![Screenshot_20231120_181128](https://github.com/godotengine/godot/assets/180032/cf9ce7cc-2332-4117-a32b-7c5c45b78725) | ![Screenshot_20231120_181143](https://github.com/godotengine/godot/assets/180032/66893228-2221-482c-be99-493d367f4327) | ![Screenshot_20231120_181155](https://github.com/godotengine/godot/assets/180032/9502f1a7-5bd0-4c9a-8134-63fa92244b2a)

### Steps to reproduce

- Use `--rendering-method mobile` to [run a project from the command line](https://docs.godotengine.org/en/latest/tutorials/editor/command_line_tutorial.html) that uses Forward+ in its project settings.
- Alternatively, use `--rendering-method forward_plus` on a project that uses the Mobile rendering method.

### Minimal reproduction project

[test_rendering_method_cli_arguments.zip](https://github.com/godotengine/godot/files/13417650/test_rendering_method_cli_arguments.zip)

if (waiting_for_first_scan) {
		return; 
	}
	Ref<ConfigFile> config;
	config.instantiate();
	
	config->load(EditorPaths::get_singleton()->get_project_settings_dir().path_join("editor_layout.cfg"));
	_save_docks_to_config(config, "docks");
	_save_open_scenes_to_config(config);
	_save_central_editor_layout_to_config(config);
	editor_data.get_plugin_window_layout(config);
	config->save(EditorPaths::get_singleton()->get_project_settings_dir().path_join("editor_layout.cfg"));
}
void EditorNode::_save_docks_to_config(Ref<ConfigFile> p_layout, const String &p_section) {
	for (int i = 0; i < DOCK_SLOT_MAX; i++) {
		String names;
		for (int j = 0; j < dock_slot[i]->get_tab_count(); j++) {
			String name = dock_slot[i]->get_tab_control(j)->get_name();
			if (!names.is_empty()) {
				names += ",";
			}
			names += name;
		}
		String config_key = "dock_" + itos(i + 1);
		if (p_layout->has_section_key(p_section, config_key)) {
			p_layout->erase_section_key(p_section, config_key);
		}
		if (!names.is_empty()) {