France through despite Swedish defeat