:I believe that this article explians it. As far as I understand it the Moroccan law allows the Supreme Council of Religious Scholars to impose fatwas on religious matters, and recognises these as law. The Supreme Council of Religious Scholars issued a fatwa that Muslims who leave Islam must be sentenced to death.