An Alameda County Superior Court judge ruled Friday that a group of homeless mothers, who have taken up residence in a vacant West Oakland home, don’t have a legal right to the property and will be evicted by the Sheriff’s Department within five days.

Dominique Walker, 34, moved into the home at 2928 Magnolia St. on Nov. 18 with her 1-year-old son and 5-year-old daughter. Several other mothers and children later joined her.

Walker filed a claim against the property owner, a Southern California real estate investment company, when she was served with an eviction notice. But on Friday, Judge Patrick McKinney upheld his tentative ruling from December and said Walker has “no valid claim” on the property.

“The court recognizes the importance of these issues but, as raised in connection with Ms. Walker’s claim of right to possession, finds that they are outside the scope of this proceeding,” the ruling reads.

Walker said Friday the judge’s decision is not a defeat.

“This is the beginning of a movement,” she said. “The system is designed to protect the wealthy, it wasn’t designed for us, so we never thought we would win. ... We are here and we are not leaving.”

Walker said that when deputies come to enforce the eviction, she and the other mothers plan to stay.

“They got to take me out,” Walker said.

Dozens of people who had gathered outside the house in support responded and said, “All of us.”

The ruling comes after a nearly two-month legal battle focused on the argument that “housing is a human right.” The case highlights the growing tensions around Oakland’s housing and homelessness crisis. Oakland had a 47% increase in homelessness in just two years, and 3,210 homeless people are unsheltered, according to a point-in-time count.

We are not surprised by the ruling. We understand that the courts’ hands are tied because in this country property rights are valued over human rights. That is why the California constitution needs to be amended to include the right to housing. #SaveMomsHouse — Moms 4 Housing (@moms4housing) January 10, 2020

Sam Singer, a spokesman for Wedgewood Properties, the property owner, said in a statement that “justice is served.”

“The court’s ruling is the correct legal, moral, and ethical judgment against the squatters that broke-in and illegally occupied the company’s house,” he said.

Wedgewood Properties has said it has plans to renovate and sell the property. The company plans to share the profit from the sale with Shelter 37, a Southern California nonprofit organization that helps at-risk youths.

Oakland Councilwoman Nikki Fortunato Bas, a critic of Wedgewood, said Friday that her offer is still on the table for the company to negotiate to sell the property to the Oakland Community Land Trust.

“I believe every single person in our community deserves housing,” Bas said. “The right to housing is the civil rights issue of our time. ... It is not a commodity, it is a human right.”

Sarah Ravani is a San Francisco Chronicle staff writer. Email: sravani@sfchronicle.com Twitter: @SarRavani