30. Conduct leading to loss of shared home.
(1) Where it appears to the court, on the application of a civil partner, that the other civil partner is engaging in conduct that might lead to the loss of any interest in the shared home or might render it unsuitable for habitation as a shared home, with the intention of depriving the applicant or a dependent child of the civil partners of his or her residence in the shared home, the court may make any order that it considers proper, directed to the other civil partner or to any other person, for the protection of the shared home in the interest of the applicant or such child.
(2) Where it appears to the court, on the application of a civil partner, that the other civil partner has deprived the applicant or a dependent child of the civil partners of his or her residence in the shared home by conduct that resulted in the loss of any interest in it or rendered it unsuitable for habitation as a shared home, the court may order the other civil partner or any other person to pay to the applicant the amount that the court considers proper to compensate the applicant or such child for their loss or make any other order directed to the other civil partner or to any other person that may appear to the court to be just and equitable.