When a landowner constructs in good faith a building that encroaches on an adjacent estate and the owner of that estate does not complain within a reasonable time after he knew or should have known of the encroachment, or in any event complains only after the construction is substantially completed the court may allow the building to remain. The owner of the building acquires a predial servitude on the land occupied by the building upon payment of compensation for the value of the servitude taken and for any other damage that the neighbor has suffered.
La. C.C. § 670