When these rules use the term “Engine,” it means any train leader, either a Diesel or a Loco.
But note that the Switch Engines card does not affect Diesels.