I think that that is illegal. Here is a link that says that the penalty is US$1000:

http://www.indonesiaimmigration.com/index.php?mib=news.detail&id=27