In any action in court, or before the department, brought against a railroad corporation for the purpose of enforcing rights arising under the provisions of this section and sections 327D.3 and 327D.4 , the burden of proving that the provisions thereof have been complied with by such railroad corporation, shall be upon such railroad corporation. [S13, §2116; C24, 27, 31, 35, 39, § 8041; C46, 50, 54, 58, 62, 66, 71, 73, 75, §479.6; C77, 79, 81, §327D.5 ] 2023 Acts, ch 64, §52 Referred to in §327D.40