The rule against attacking embassies applies only to embassies in your country. So, for example, Iran attacking the USA embassy in Iran.
Blowing up a terrorist in a building down the block from an embassy in a foreign country does not violate any convention.
I didn’t read the rest of your post after that stupidity.