It depends on wether you're shelling the countryside or the "dot". If you're just shelling their countryside, well, I guess they feel it's ok that a few farmeras die. If you're shelling the dot though, also attacking buildings, it's another matter and they will declare on you.
When the enemy is driven back, we have failed. When he is cut off, encircled and dispersed, we have succeeded. - Aleksandr Suvorov.