The department of transportation shall likewise have the power to require one railroad to switch to private spurs and industrial tracks upon its own railroad the cars of a connecting railroad and to prescribe the terms and compensation for such service.