I do not understand the point you are making. You cite a treaty that countries explicitly agree to protect diplomats while they are guests in another country -- I'm not sure what relationship this has with one sovereign nation using force to rendition someone from another country.
The only country that has agreed to the terms of the ICC here is Venezuela -- but there is no ICC arrest warrant for anyone involved, nor is the US acting on behalf of the ICC nor does it have any authority to do so.
The invasion (which was required to perform the arrest, since it was within the territory) was definitely an invasion and morally wrong.
As noted several times, there are many ways that this could have been done that are in accordance with civil society it. It wasn't, and that is bad.