Sec. 1. The Court of Criminal Appeals and each judge thereof shall have, and is hereby given, the power and authority to grant and issue and cause the issuance of writs of habeas corpus, and, in criminal law matters, the writs of mandamus, procedendo, prohibition, and certiorari. The court and each judge thereof shall have, and is hereby given, the power and authority to grant and issue and cause the issuance of such other writs as may be necessary to protect its jurisdiction or enforce its judgments.