I believe a regime uses the traditional Islamic law to have this weapon. It is not itself a regime based on Muslim scholars, based on the traditional Islamic law.
For example, we have execution for blasphemy and apostasy. I was a lawyer for many people on apostasy in Iran only because they are banned from talking about Islam inside a Muslim country. Now we have people in Saudi Arabia and Iran—Persians, Iranians, even Iranian clergy—in prison because they spoke out about the new or modern Islamic law. The Iranian regime and the Saudi regime and many other countries use the sharia system, but sharia never can be practised these days. They use it. It's not exactly in the wrong way as a regime, but it is a Muslim regime country and some clergy support this.