Magnetism in pre-MS intermediate-mass stars and the fossil field hypothesis