(a) The judgment for damages shall be rendered against the party who obtained the restraining order or injunction and against his or her sureties on the bond, and the judgment for damages shall be conclusive against them.
(b) In proceedings under this subchapter, the sureties shall be considered parties in the cause. The court may, in its discretion, require reasonable notice to the sureties before finding and judgment.