Thailand and Japan have agreed in principle on joint development of a 1.435-metre standard-gauge rail network linking a border village in Kanchanaburi with Cambodia.