Regardless of whether or not you decide to dismiss these positions as out of the orthodox, it's a logical fallacy to assume that because some Muslim-majority states implement some of the penal code describe in Islam, that any activity by these states is somehow part of or sanctioned by the religion.