Magpies are smart. With a few gone the rest will stay away.
This must fall under the make my day law - yard invaders threatening our well being???