There are other drawbacks.
Train travel can be very long, especially when compared to air travel.
And trains not always punctual. Sometimes, there are lengthy delays.
Moreover, in some countries like Spain, train travel is not as cheap as taking buses, especially the sleeper trains.