The receiver appointed by a court of this state for a domestic insurer is the proper defendant in an action to enforce an obligation of the insurer, or of its receiver.
Except as otherwise provided by law, the ancillary receiver appointed by a court of this state for a foreign or alien insurer is the proper defendant in an action to enforce an obligation of the insurer, or of its domiciliary or ancillary receiver.