It is safe, inserting into a 0-dim array does not make sense (it errors out/special cased before this).