High side current sensing for negative high voltage
Given it's optically isolated, and that it has a separate battery supply, it should work as well for -1'000V (or -991V).

You would have to:


invert the pin on the shunt to have a positive reading of the current.
keep the battery as-is, means the low side would be -1000V - 9V max.