Every mine foreman, assistant mine foreman or fire boss, under the provisions of the Bituminous mining laws or the Anthracite Mining Laws, shall represent the Commonwealth in the coal mine or colliery in which he is employed and be deemed to be an officer of the Commonwealth in enforcing the provisions of said Mining Laws and performing his duties thereunder. He shall perform said duties during such times as the mine or colliery in which he is employed is in operation, and at such other times as in the judgment of the operator or the Secretary of Mines shall be necessary or desirable to make the mine or colliery safe for operations or to protect the health and safety of the employes of the operator or the safety of the mine or colliery properties.
52 P.S. § 11