Court releases blogger who criticised king