You can find these court forms and more information at the California Courts. Find Your Court Forms.What is the difference between them? The standard answer is that the declaratory judgment is milder and the injunction is stronger. He maintains his office in the City and County of San Francisco, within this judicial district. He is sued solely in his official capacity. You may file this form at any time before judgment is entered. You should seek legal advice immediately. 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. The buyer can sue the seller for specific performance, forcing the seller to complete the contract and transfer the property to the buyer.