No declaratory judgment shall prejudice the rights of persons not parties to the proceeding.

L.1951 (1st SS), c.344.