When a person devises lands of which he or she is not seised, but in which he or she has a right of entry, or when a testator after making a will is disseised of lands devised by the will, the lands shall nevertheless pass to the devisee in like manner as they would have descended to the testator's heirs if he or she had died intestate; and the devisee shall have the like remedy for the recovery of the land as the heirs might have had.
R.I. Gen. Laws § 33-6-18