Minecraft uses the default config values to set the spawn weights for Guardians (in ocean biomes) and Cave Spiders (in caves) irrespective of any changes made to the config. Guessing this is because the relevant DefaultBiomeFeatures methods are called before user config changes are applied.