No, it goes back to the irresponsible people who put the dog in the shelter in the first place.
It is far too late for San Francisco and possibly too late for California. My only recommendation to people living there is to move while you have a chance.