A person who has been, since before the enforcement of the Civil Code, in a situation in which he/she would have acquired ownership under the provisions of Articles 242 through 246 of the Civil Code acquires ownership in accordance with the provisions of the Civil Code at the same time as the enforcement of the Civil Code; provided, however, that this does not prejudice a right lawfully acquired by a third party.