IANAL, but this sounds incomplete. Declaratory judgements are a thing. Presumably that doesn't apply in this case for various reasons.
Declaratory judgement are only for cases where the mere possibility of an adverse decision is materially impacting you. For example investors being nervous. Its not intended to be a way to make a point.