Yes @LPH.  

Other examples:   

 * "la lettre `a`" --- "le `a`"  
 * "Antoine est français" --- "Antoine a nationalité française"  
 * "le russe" --- "la langue russe"  

Alphabet letters are masculine, but "lettre" is feminine.  
Nationality follows the gender of Antoine, but "nationalité" is feminine.  
The language name is masculine, but "langue" is feminine.