Under state green-energy laws, towns and cities cannot ban battery storage. And regulations that are too stringent can invite ...