(a) If judgment is rendered in favor of the plaintiff in an action described in Section 26-23G-4 or Section 26-23G-5, the court shall also render judgment for reasonable attorney fees in favor of the plaintiff against the defendant.
(b) If judgment is rendered in favor of the defendant in an action described in Section 26-23G-4 or Section 26-23G-5, and the court finds that the plaintiff's suit was frivolous and brought in bad faith, the court shall render judgment for reasonable attorney fees in favor of the defendant against the plaintiff.
(c) No attorney fees may be assessed against the woman upon whom an abortion was performed or attempted to be performed except in accordance with subsection (b).