How to prevent libreoffice headless from creating its config file tree in $HOME?

I only did

$ sudo aptitude install libreoffice-writer-nogui

and only use soffice occasionally.

How might I prevent it from creating a file tree in
~/.config/libreoffice/ ?

It’s not like I intend to be “partners for life, till death do us part” or something.

I tried

$ HOME=/tmp soffice ...

but that didn’t fool it.

Note I need a command line solution, as I am headless.

Sure, I could probably symlink ~/.config/libreoffice/ to /tmp/bla etc. but I don’t even want to have that one link “polluting” my $HOME.