If you are resident in another European country it is allowed, I have British friends travelling back for Christmas and they will be able to come back to Switzerland via France on their return. I don't think tourists are allowed, but the transit rules are always a bit complex.
Would anyone know if you can drive through France to another country, or is transit banned?