Purnama is in the extraordinary situation of campaigning for election while he is on trial for blasphemy, making weekly court appearances to defend himself against charges of insulting the Muslim holy book, the Koran.