### What happened?

When using `RemoteWebDriverBuilder.config()` to set a `ClientConfig` instance that does not contain a `baseUri` and does not set an address with `address()` method, the `build()` method will get a non null return from `this.getLocalDriver()`, but that method does not create a driver using the provided `ClientConfig` values.

I don't actually see a way to set a `ClientConfig` for local driver sessions, which, if that's the case, is a bigger issue to address. For this I think we should at least throw an exception that the config instance provided can not be respected if we get a local driver result.

### How can we reproduce the issue?

```shell
FirefoxOptions browserOptions = new FirefoxOptions();
        ClientConfig config = ClientConfig.defaultConfig()
                .connectionTimeout(Duration.ofMinutes(5))
                .readTimeout(Duration.ofMinutes(4));

        WebDriver driver = RemoteWebDriver.builder()
                .oneOf(browserOptions)
                .config(config)
                .build();
```


### Relevant log output

```shell
n/a
```


### Operating System

n/a

### Selenium version

Java 4.0.0

### What are the browser(s) and version(s) where you see this issue?

n/a

### What are the browser driver(s) and version(s) where you see this issue?

n/a

### Are you using Selenium Grid?

n/a
}
  }
  @NoDriverBeforeTest
  @NoDriverAfterTest
  @Test
  public void testPersistentHoverCanBeTurnedOff() throws Exception {
    createNewDriver(new ImmutableCapabilities(ENABLE_PERSISTENT_HOVERING, false));
    driver.get(pages.javascriptPage);
    
    
    new Actions(driver).moveToElement(driver.findElement(By.id("keyUp"))).build().perform();
    WebElement element = driver.findElement(By.id("menu1"));
    WebElement item = driver.findElement(By.id("item1"));
    assertThat(item.getText()).isEqualTo("");
    ((JavascriptExecutor) driver).executeScript("arguments[0].style.background = 'green'", element);
    new Actions(driver).moveToElement(element).build().perform();
    
    
    Robot robot = new Robot();
    robot.mouseMove(50, 50);
    
    Thread.sleep(1000);
    wait.until(d -> item.getText().equals(""));
    assertThat(item.getText()).isEqualTo("");
  }
  private WebDriver newIeDriver() {
    return new WebDriverBuilder().get();
  }
}