My brother is a retired freight engineer and he has done something similar to this several times in his career. Takes a fine touch at the throttle and some understanding of where those pieces of wood go near the track. Saved the company a lot of money not having to call for a private company to rerail an engine.