During the Napoleonic Wars , many Ticinese ( as was the case for other Swiss ) served in Swiss military units allied with the French . During the Napoleonic Wars , many Ticinesi ( as was the case for other Swiss ) served in Swiss military units allied with the French .