[`Setting.versionSetting`](https://github.com/elastic/elasticsearch/blob/0652a5915586abbcdfdfffa91a391740f0147752/server/src/main/java/org/elasticsearch/common/settings/Setting.java#L1275) (only used by index compatibility setting) does not use the `Validator` passed in - its just discarded. Looks like it's been like this since it was introduced by https://github.com/elastic/elasticsearch/pull/83264 in 8.2.0.

Enabling this causes some tests to fail. Enabling this may cause problems for indexes that have a wonky setting already applied.
server/src/main/java/org/elasticsearch/common/settings/Setting.java
return new Setting<>(key, fallbackSetting, s -> Version.fromId(Integer.parseInt(s)), properties);
    }
    public static Setting<Float> floatSetting(String key, float defaultValue, Property... properties) {
        return new Setting<>(key, Float.toString(defaultValue), Float::parseFloat, properties);
    }
    public static Setting<Float> floatSetting(String key, float defaultValue, float minValue, Property... properties) {
        return new Setting<>(key, Float.toString(defaultValue), (s) -> {
            float value = Float.parseFloat(s);
            if (value < minValue) {
                String err = "Failed to parse value"
                    + (isFiltered(properties) ? "" : " [" + s + "]")
                    + " for setting ["
                    + key
                    + "] must be >= "
                    + minValue;
                throw new IllegalArgumentException(err);
            }
            return value;
        }, properties);
    }
    private static boolean isFiltered(Property[] properties) {
        return properties != null && Arrays.asList(properties).contains(Property.Filtered);
    }
    public static Setting<Integer> intSetting(String key, int defaultValue, int minValue, int maxValue, Property... properties) {
        return new Setting<>(
            key,
            Integer.toString(defaultValue),
            (s) -> parseInt(s, minValue, maxValue, key, isFiltered(properties)),
            properties
        );