The defendant by contradictory motion may obtain the dissolution of a writ of attachment or of sequestration, unless the plaintiff proves the grounds upon which the writ was issued. If the writ of attachment or of sequestration is dissolved, the action shall then proceed as if no writ had been issued.
The court may allow damages for the wrongful issuance of a writ of attachment or of sequestration on a motion to dissolve, or on a reconventional demand. Attorney's fees for the services rendered in connection with the dissolution of the writ may be included as an element of damages whether the writ is dissolved on motion or after trial on the merits.