Find Your Court Forms. Bring an original action or cross-complaint in the superior court for a declaration of his or her rights and duties in the premises.You can find these court forms and more information at the California Courts. A declaratory judgment is a binding judgment from a court defining the legal relationship between parties and their rights in a matter before the court. A Petition for Declaratory Relief in California is used to obtain a judicial declaration on the rights and duties of parties under a contract or statute. A petition for declaratory relief in California is used to obtain a judicial declaration on the rights and duties of parties under a contract or statute. 1950); see generally 22A Am. Jur. You must make and file your retum with the court clerk. They seek a declaratory judgment that those contractual provisions are invalid and unenforceable. Cruz argued Owners' motion was premature, as no discovery had been conducted in the declaratory judgment action.