When a decree is entered against a railroad corporation or person under sections 327C.16 through 327C.20 , the court shall render judgment for costs, and attorney fees for counsel representing the state. [C97, §2120; C24, 27, 31, 35, 39, § 7889; C46, 50, 54, 58, 62, 66, 71, 73, 75, §474.30; C77, 79, 81, §327C.21 ] 2021 Acts, ch 80, §188