No suit shall be maintained for the collection of premiums upon any policy of insurance under "The Workmen's Compensation Act of nineteen hundred and fifteen," and acts amendatory thereof or supplemental thereto, or under "The Pennsylvania Occupational Disease Act of nineteen hundred and thirty-nine," and acts amendatory thereof or supplementary thereto, which violates any of the provisions of this act. All premiums and interest charges on account of policies insuring employes against liability under this chapter, which may be due to the State Workmen's Insurance Fund, or any stock corporation or mutual association authorized to transact the business of insurance in this State, and all judgments recovered by the State Workmen's Insurance Fund, or any such insurance corporation or association, against any employer on actions brought under any such policy, shall be deemed preferred claims in all insolvency or bankruptcy proceedings, trustee proceedings for administration of estates, and receiverships, involving the employer liable therefor, or the property of such employer; provided, however, that claims for wages shall receive prior preference in all such proceedings.
40 P.S. § 812