One of the advanced weapon training features for fighters is
Combat Competence (Ex) For any weapon in the associated weapon group with which the fighter is not proficient, the penalty on attack rolls taken as a result of not being proficient is reduced by an amount equal to the fighter’s weapon training bonus with that weapon group. Once the penalty is reduced to 0, the fighter becomes proficient with such weapons.
The part I'm not sure about is how I would treat proficiency due to this feature. This applies mostly to exotic weapons that are part of the fighter's chosen weapon group.
For example the Flambard is part of the Blades,Heavy weapon group but is an exotic weapon so a fighter would suffer penalty due to nonproficiency when using it. However I can drop the penalty to 0 as early as level 9 with a Gloves of Dueling and selecting Advanced Weapon Training: Combat Competence.
How would I show that I have proficiency with the example Flambard? Do I give myself Weapon Proficiency(Heavy,Blades) as a bonus feat? What happens if my Gloves of Dueling are removed? Does this feature make me eligible for feats that require proficiency with the weapon (example: Weapon Focus(Flambard)?