Using tilt (rotated, so the tilt axis becomes swing) to move the plane of best focus parallel to the locomotives. Canon 24mm TS/E at f/3.5. Depth of field did not increase. Notice that the far right side of the locomotive nose is still out of focus.
In normal use, we would both tilt the lens and stop it down to f/16 or f/22.