### Elasticsearch Version

all serverless

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

all

### Problem Description

Creating a time series instance in Serverless fails with the following error:

```
elasticsearch.exceptions.RequestError: RequestError(400, 'illegal_argument_exception', 'Settings [index.time_series.end_time,index.time_series.start_time,index.routing_path] are not available when running in serverless mode')
```

### Steps to Reproduce

I used a custom Python client script to create an index

```
from elasticsearch import Elasticsearch
import sys
import argparse
import os

if os.environ.get('API_KEY') is None or os.environ.get('ELASTICSEARCH_URL') is None:
    print(f"Missing environment variables 'API_KEY' and 'ELASTICSEARCH_URL'")

api_key = os.environ.get("API_KEY")
elasticsearch_url = os.environ.get("ELASTICSEARCH_URL")

print(f"Using api key: {api_key}")
print(f"Using Elasticsearch url: {elasticsearch_url}")

client = Elasticsearch(
  elasticsearch_url,
  api_key=api_key
)

parser = argparse.ArgumentParser(description='Elasticsearch TSDB indexing')
parser.add_argument('dataset', help='The set of documents to index as a Json file')
parser.add_argument('index', help='The index where data will be indexed')

args = parser.parse_args()

mappings = {
    "settings": {
      "index": {
        "mapping.total_fields.limit": 10000,
        "codec": "default",
        "routing_path": [
          "cloud_region",
          "pod_id"
        ],
        "time_series": {
          "start_time": "2023-09-01T00:00:00",
          "end_time": "2023-09-30T23:59:59"
        }
      }
    },
    "mappings": {
        "properties": {
            "@timestamp": {
                "type": "date"
            },
            "cloud_region": {
                "type": "keyword",
                "time_series_dimension": "true"
            },
            "pod_id": {
                "type": "keyword",
                "time_series_dimension": "true"
            },
            "counter": {
                "type": "integer",
                "time_series_metric": "counter"
            },
            "gauge": {
                "type": "double",
                "time_series_metric": "gauge"
            }
        }
    }
}


delete_response = client.indices.delete(
    index=args.index,
    ignore_unavailable=True
)
print(f"Delete response: {delete_response}")

create_response = client.indices.create(
    args.index,
    body=mappings
)
print(f"Create response: {create_response}")
```

### Logs (if relevant)

_No response_
server/src/main/java/org/elasticsearch/index/IndexSettings.java
false,
        Property.Final,
        Property.IndexScope
    );
    public static final TimeValue DEFAULT_REFRESH_INTERVAL = new TimeValue(1, TimeUnit.SECONDS);
    public static final Setting<TimeValue> NODE_DEFAULT_REFRESH_INTERVAL_SETTING = Setting.timeSetting(
        "node._internal.default_refresh_interval",
        DEFAULT_REFRESH_INTERVAL,
        TimeValue.MINUS_ONE,
        Property.NodeScope
    ); 
    public static TimeValue STATELESS_DEFAULT_REFRESH_INTERVAL = TimeValue.timeValueSeconds(15); 
    public static TimeValue STATELESS_MIN_NON_FAST_REFRESH_INTERVAL = TimeValue.timeValueSeconds(5);
    public static final Setting<TimeValue> INDEX_REFRESH_INTERVAL_SETTING = Setting.timeSetting("index.refresh_interval", (settings) -> {
        if (EXISTING_SHARDS_ALLOCATOR_SETTING.get(settings).equals("stateless") && INDEX_FAST_REFRESH_SETTING.get(settings) == false) {
            return STATELESS_DEFAULT_REFRESH_INTERVAL;
        }
        return DEFAULT_REFRESH_INTERVAL;
    }, new RefreshIntervalValidator(), Property.Dynamic, Property.IndexScope, Property.ServerlessPublic);
    static class RefreshIntervalValidator implements Setting.Validator<TimeValue> {
        @Override
        public void validate(TimeValue value) {}
        @Override
        public void validate(final TimeValue value, final Map<Setting<?>, Object> settings) {
            final String existingShardsAllocator = (String) settings.get(EXISTING_SHARDS_ALLOCATOR_SETTING);
            final Boolean fastRefresh = (Boolean) settings.get(INDEX_FAST_REFRESH_SETTING);
            final IndexVersion indexVersion = (IndexVersion) settings.get(SETTING_INDEX_VERSION_CREATED);
            if (existingShardsAllocator.equals("stateless")
                && fastRefresh == false
                && value.compareTo(TimeValue.ZERO) > 0