A federal judge has put a temporary halt to a Houston homeless ordinance banning public camping after ruling the law may criminalize the status of people who can’t find permanent shelter.

Senior U.S. District Judge Kenneth Hoyt signed a temporary restraining order on Aug. 22 that prevents the city from enforcing the camping ban as Houston promises to build more housing for the homeless and reduce aggressive panhandling in the city.