Section 39. If in the judgment of the department any common carrier violates or neglects in any respect to comply with the provisions of any law, and after written notice by the department continues such violation or neglect, or neglects to make returns as required by law, or to amend the same when lawfully required so to do, the department shall forthwith present the facts to the attorney general for action.