City officials successfully argued that Amtrak should bear the full cost of repairs after raising tracks 9 inches.