Order was issued against the city of Sacramento after advocates called out the municipality for violating its own order