If the finding be in favor of the defendant, the court shall render judgment against the plaintiff that his complaint be dismissed, and that the defendant recover of him full costs.