(a) On filing of an application and after notice to the attorney general, the department, for good cause shown, may by order permit a railroad company or other corporation, firm, partnership, or individual or a county or municipality to deviate from a provision of this chapter in accordance with the order.
(b) An action in accordance with an order issued under this section is not considered to violate this chapter.