If it is decided that the location of the railroad or of the way shall be changed, land or other property may be taken therefor by eminent domain on behalf of the railroad corporation, the commonwealth, the county or the city or town, as the case may be, under chapter seventy-nine, and damages may be recovered therefor under said chapter.
Mass. Gen. Laws ch. 159, § 60