"if you can run 40min at 15km/h you will most likely run a 10K race very close to 40min"
A road race brings out BETTER effort than any treadmill session I've ever run; mostly due to race adrenaline, crowd support, and being able to compete against other runners of comparable fitness. Don't you also find this to be true?