Administrative Litigation Act Article 196

Where the administrative disposition has been executed and the administrative court enters a judgement to revoke the administrative disposition, the court may, on motion by the plaintiff and as it deems appropriate, rule in the judgment that the government agency shall take appropriate measures for restoration.In the course of a litigation of revocation, if the original disposition has been executed and there is no likelihood for restoration or the disposition has voided, in cases where the plaintiff has legal interests in the declaratory judgment, the administrative court may, on motion, rule to declare the administrative disposition illegal.
中文原文 行政訴訟法第196條
行政處分已執行者,行政法院為撤銷行政處分判決時,經原告聲請,並認為適當者,得於判決中命行政機關為回復原狀之必要處置。
撤銷訴訟進行中,原處分已執行而無回復原狀可能或已消滅者,於原告有即受確認判決之法律上利益時,行政法院得依聲請,確認該行政處分為違法。

English translation for reference only; the Chinese text prevails. Not legal advice.