Be careful, some US airport agents don't understand Swedish rules and deny boarding to people even if they're connecting in the EU. However, this is not a problem if you have a French passport and use it for travel, as EU national can enter Sweden without restrictions.