A decision by the European Court means that employers should beware of refusing references.