A 2021 law already prohibits regular domestic commercial flights on routes that can be traveled by rail in less than two and a half hours.