The commission may apply to the district court for injunctions to prevent violations of any provision of the Telephone and Telegraph Company Certification Act or of any rule or order of the commission in connection with the issuance or nonissuance of certificates of public convenience and necessity pursuant to that act, and the court has the power to grant injunctions and to enforce injunctions by contempt procedure.