Isn't there a religious text that bans the depiction of the human form?

Apparently there are exceptions. Like kings.