The mine foreman shall have charge of carrying out or directing the carrying out of his or her duties as prescribed in Section 20 of this Act; and any superintendent who shall direct or cause a mine foreman to disregard the provisions of this Act shall be amenable in the same manner as the mine foreman.