If you specify glasses for a unit in a config file, at present it makes them mandatory and ignores whatever selection a user has chosen in their profile.
There needs to be some flexibility in how this works, in many cases the preference would be let a users profile selection take priority over what is specified in the config.
As suggested by the moderators a sensible solution would be have a flag you could set within a units class e.g glassesAreCrucial = false
If set as false then a users profile selection takes priority.
If set as true then any glasses specified within the units "linkeditems" take priority
Divers for example would need to be set as true