Article 495. Entitlement to recover in case of better possession
(1) A former possessor is entitled to recover possession of the property from another person exercising physical control over it if the former possession was better than the current possession of the other person.
(2) The former possession is better than the current possession if the former possessor is in good faith and has a right to possess, while the other person has no right to possess, the property.
(3) Where both persons are in good faith and have a right to possess the property, the right derived from the owner prevails over a right derived from an owner-possessor who is not the owner; if this does not apply, the older rightful possession prevails.
(4) Where both persons are in good faith, but neither has a right to possess the property, the current possession prevails.