Oops. I got the actual steps slightly wrong (an extra sudo and I
forgot to exit the sudo):
$ ssh other-system
$ sudo -i
# export $(dbus-launch)
# sudo flatpak update
Should be:
$ ssh other-system
$ sudo -i
# export $(dbus-launch)
# flatpak update
# exit