RUBIN, J.
Tremaine Fowlkes and Virgil Forbin appeal from the trial court's judgment sustaining the demurrer of their landlord Shark Investments, LLC, to their first amended complaint. Because we conclude the allegations of Fowlkes' and Forbin's first amended complaint were not fatally inconsistent with their original complaint's allegations, the court erred in sustaining the demurrer on that ground. Therefore, we reverse and remand for further proceedings.
Because this appeal is from a demurrer, we recite the facts as stated in appellants' complaint without judging their veracity. In November 2010, appellant Tremaine Fowlkes signed a three-year lease for a home on Rodgerton Drive in Los Angeles. In June 2011, Deutsche Bank National Trust, which is not a party to this appeal, took title to the house by non judicial foreclosure. The following month in July 2011, Deutsche and its agents began to intimidate and harass Fowlkes, by among other things, posting "No Trespassing" signs on the property and damaging door locks.
In September 2011, appellant Virgil Forbin moved into the house as Fowlkes's subtenant. (Forbin did not, however, enter into a written sublease until November 1, 2011.) On October 3, 2011, Deutsche's agent entered the house without giving notice to appellants and damaged their personal property. Two days later on October 5, 2011, Deutsche sent appellants a "Notice of Belief of Abandonment of Occupancy." To prevent additional intrusions into their home, appellants hired a private security guard for the premises.
On November 5, 2011, defendants cut off water, gas, and electrical utilities to the house. As stated in their original complaint, appellants allege the utility cut-off left "the Property uninhabitable to Plaintiffs and forc[ed] their departure from the premises." But in their first amended complaint—and this is the key point of dispute on appeal—appellants alleged the utility cut-off left "the Property uninhabitable to Plaintiffs and forc[ed] their temporary departure from the premises"—the word "temporary" being new to the amended allegation. According to appellants, after moving out of the house, Forbin stayed for a few days with friends and in a motel until he installed an electric generator at the house and resumed living there.
Apparently to entice appellants to leave the property, on November 17, 2011, Deutsche sent a letter to appellants exploring the possibility of a settlement to return possession of the property to Deutsche. One month later on December 22, 2011, Deutsche sent a "Notice to Cure or Quit" to appellants demanding that they stop their loud parties and late-night noise. On December 29, 2011, Deutsche's attorney did a walk-through inspection of the house with Forbin. And finally, in January 2012, Deutsche offered to pay appellants' relocation expenses in return for their release of all claims, which appellants apparently rejected.
On May 16, 2012, appellants filed their complaint against Deutsche and its agents, Paul Dinkel and Re/Max of Santa Clarita doing business as V.E.R.E. Enterprises, Inc. The complaint alleged causes of action for declaratory relief, trespass, conversion, wrongful eviction, conspiracy to commit wrongful eviction, constructive eviction, conspiracy to commit constructive eviction, and intentional interference with contractual relations.
Two days before appellants filed their complaint, Deutsche sold the house to respondent Shark Investments, LLC.
Shark Investments demurred to the first amended complaint. It argued that appellants' allegation involving their departure from the house was fatally inconsistent with their purportedly remaining in possession of the home by continuing to occupy it. Shark Investments noted that appellants' original complaint alleged appellants "were forced from the property on November 5, 2011" and hired a security guard after the utilities were cut off, but the first amended complaint omitted mention of a security guard and alleged appellants returned to the property at some point and "continued to reside" there even after Shark Investments bought it in May 2012.
Appellants opposed the demurrer. They asserted that neither their complaint nor first amended complaint alleged they abandoned the property; rather, they departed from it because the loss of utilities made it uninhabitable, and the first amended complaint clarified that their departure was temporary.
The trial court sustained Shark Investments' demurrer. The court found the allegations in appellants' first amended complaint were fatally inconsistent with the original complaint, and could not be cured by amendment. This appeal followed.
"A demurrer must assume the truth of a complaint's properly pleaded allegations." (Century-National Ins. Co. v. Garcia (2011) 51 Cal.4th 564, 566, fn. 1.) "`We treat [a] demurrer as admitting all material facts properly pleaded, but not contentions, deductions or conclusions of fact or law. [Citation.] We also consider matters which may be judicially noticed.' [Citation.] Further, we give the complaint a reasonable interpretation, reading it as a whole and its parts in their context. [Citation.] When a demurrer is sustained, we determine whether the complaint states facts sufficient to constitute a cause of action. [Citation.] And when it is sustained without leave to amend, we decide whether there is a reasonable possibility that the defect can be cured by amendment. . . . [Citation.]" (Blank v. Kirwan (1985) 39 Cal.3d 311, 318.)
The trial court sustained Shark Investments' demurrer because the court found the allegations involving appellants' departure from the property in their first amended complaint were fatally inconsistent with the allegations in their original complaint, and could not be cured by amendment. Appellants' original complaint alleged the property became uninhabitable after Deutsche cut-off all utilities, thus "forcing their departure from the premises." Shark Investments asserted, and apparently the trial court agreed, that appellants' allegation meant appellants abandoned the property never to return, thus defeating any cause of action predicated on continued possession or occupancy. Amending the allegation in the first amended complaint to allege their departure was "temporary," was according to Shark Investments, a sham that the trial court properly disregarded. (Lockton v. O'Rourke (2010) 184 Cal.App.4th 1051, 1061 ["sham-pleading doctrine" prohibits plaintiffs from amending complaint without explanation to avoid demurrer].)
Appellants contend the court erred because it disregarded the legal rule that courts must liberally construe allegations in a complaint when ruling on a demurrer. (See, e.g., Gomez v. Lincare, Inc. (2009) 173 Cal.App.4th 508, 522; Code Civ. Proc., § 452.) We agree. Liberally construed, the allegations of appellants' original complaint and first amended complaint can be harmonized to state the following as the gist of appellants' claims
The trial court is ordered to vacate its judgment of dismissal of respondent Shark Investments, LLC, and to enter a new order overruling the demurrer by Shark Investments, LLC. Appellants to recover their costs on appeal.
BIGELOW, P. J. and FLIER, J., concurs.