Nevertheless in all cases where the testator has expressly declared that he intends such a legacy to be discharged in preference to the others, this preference shall take place; and the legacy which is the subject thereof shall be reduced only to the extent that the value of the others would not fulfil the legal reserve.