Costs ordinarily follow results of suit .
No costs shall be allowed against the Republic of the Philippines, unless otherwise provided by law. When action or appeal dismissed . If an action or appeal is dismissed for want of jurisdiction or otherwise, the court nevertheless shall have the power to render judgment for costs, as justice may require. Costs when appeal frivolous . - Where an action or an appeal is found to be frivolous, double, or treble costs may be imposed on the plaintiff or appellant, which shall be paid by his attorney, if so ordered by the court. False allegations .