What is happening in Jean Leon Gerome's "Last Judgment" painting?

What is happening in this Jean Leon Gerome painting, The Last Judgment?

Is one dead pig worse or better than a hundred skulls? I dont get it. Is being heavy bad or good in this? Is that Muhammed or just a regular guy in a turban?

Guess: It’s a critique of Islam. In the opinion of the artist, a Muslim thinks that eating pork is worse than killing a bunch of people to further the cause.