Whoever refuses to sign any statement made by him when required to sign that statement by a religious officer legally competent to require that he shall sign that statement commits an offence and shall on conviction be liable to a fine not exceeding one thousand ringgit or to imprisonment for a term not exceeding six months or to both.