A landmark ruling allowed a family to escape inheritance tax after property was given to them as a gift.