Israel has the correct idea...Terrorist know that IF you attack an Israeli diplomat, you WILL die. And you will spend the rest of your life looking over your shoulder.
One of my favorite Israeli operations involved giving and explosive rigged cellphone to a terrorist and calling him. When he answered they blew his head off.