In other actions than those mentioned in § 26602, costs maybe allowed or not, and, if allowed, may be apportioned between the parties, on the same or adverse sides, in the discretion of the court; but no costs can be allowed the plaintiff when the judgment is one which could have been rendered by an inferior court. SOURCE: CCP § 1025.