In today's social environment that is the ultimate stupid, thoughtless, cruel law imagineable.
I volunteer at a local rescue organization, and know for a fact the horrific alternatives to this unenforceable law. A quick and merciful death, if they're lucky, by people who have no business having pets, let alone children.
German Shepherd Rescue of Orange County will save a few, hopefully Coastal and Westside German Shepherd Rescues will save a few more.