Court denies arrest of Pakistani pm