Code of Civil Procedure Article 95

The provisions of this section shall apply mutatis mutandis to cases where the court, by ruling, concludes the case or to issues irrelevant to it.If there is no counterparty in the matter of motions or statements, unless otherwise provided, the litigation costs shall be borne by the movant or declarant.
中文原文 民事訴訟法第95條
本節之規定,於法院以裁定終結本案或與本案無涉之爭點者準用之。
聲請或聲明事件無相對人者,除別有規定外,訴訟費用由聲請人或聲明人負擔。

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