Diplomatic immunity does not work like that, however since it is also a different country from mine and cus of politics, take this with a grain of salt.
Diplomats may be declared
persona non grata and expelled, although not prosecuted. A foreign official's home country may waive immunity and allow prosecution, typically if the official was involved in a serious
crime unrelated to their diplomatic role (as opposed to, for example, allegations of
spying).
Violation of the law by diplomats has included
espionage, smuggling,
child custody law violations, money laundering,
[21] tax evasion, making terrorist threats,
[22] slavery, child solicitation,
[23] and
murder.
And to end this, I am not an expert nor am I, a person with extensive knowledge in this type of situations.