shall issue upon application by the landlord. Notwithstanding Rule 62 of the Alabama Rules of Civil Procedure, the automatic stay on the issuance of the writ of possession or restitution shall be for a period of seven days. If a tenant without just cause re-enters the premises, the tenant can be held in contempt and successive writs may issue as are necessary to effectuate the eviction judgment.
(f) In the event that the landlord is placed in possession under a writ of restitution or possession, and on appeal the judgment is reversed and one entered for the tenant or the proceeding on appeal is quashed or dismissed, the circuit court may award a writ of restitution or possession to restore the tenant to possession as against the landlord, but not as against a third party. The issuance of the writ rests in the discretion of the appellate court, and the circuit court, in all cases, may direct writs of restitution or possession to be issued by the trial court when, in the judgment of the circuit court, such writ is proper or necessary.