I think that you don't fully understand the concept underlying diplomatic immunity. Diplomatic immunity exists to ensure that countries cannot use the local legal system when no crime is committed in order to put pressure on the diplomat or his family, not to go away when a real crime is committed.
A lot of countries will wave diplomatic immunity when a real crime is committed or will prosecute the diplomat in their local legal system. The only countries refusing to do so are rogue or third world countries.