LOS ANGELES (AP) — A federal judge has banned law enforcement officials from confiscating and destroying the belongings of homeless people on Los Angeles’ Skid Row.

District Court Judge Phillip Ramirez issued a preliminary injunction Thursday and found that the city’s policy violates the Fourth Amendment, which protects against unreasonable search and seizure.

READ MORE: Laguna Hills Student Spouts Racial Slurs At Black Player

In his ruling, Ramirez writes that homeless people have an expectation of privacy when they leave their possessions in public spaces for a short time to use the bathroom or eat.

READ MORE: Authorities Searching For Missing Teen Girl Allegedly Taken By Her Mother

The city argued that property abandoned on the street creates a hazard for the public in the revitalized downtown area.

The city also claimed that signs advising people that property left on the sidewalks would be thrown out did not justify disposing of people’s possessions, but the court rejected that argument.

MORE NEWS: Woman Details Encounter With Man Accused Of Killing Brianna Kupfer

(© Copyright 2011 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)