I am puzzled about how California obtained jurisdiction over a painting sold in Germany and now held in a Spanish museum. It’s possible the seller’s heirs who brought suit live in California, but I would not expect a Spanish court to enforce a judgement based solely on that.
The painting is in California, it’s stolen property. They are trying to recover it.