ICJ wants law followed in demolitions