France has implemented a ban on domestic short-haul flights where train alternatives exist, aiming to reduce carbon emissions.