Where parties enter into a consent order with conditional obligations, a party who fails to comply with a condition precedent cannot enforce subsequent obligations against the other party that are dependent on performance of that condition precedent. Where a consent order provides alternative obligations depending on the fulfillment of a condition, and the condition is not met due to one party's default, the other party is entitled to perform the alternative obligation. A writ of execution issued by a party who has itself failed to comply with the terms of a consent order is wrongful. Under section 14 of the High Court Act, the court may grant a declaratory order where the applicant has a direct and substantial interest in the subject matter relating to an existing right, no consequential relief is sought, and the interests of justice or convenience demand such an order.