Embassies or consulates in foreign countries are provided diplomatic protection. These compounds are considered foreign soil and the host state will not enter without permission.
Like the consulate, cars, and residences of diplomats comes with this protection. So does the cargoes that come to embassies.
The state of Kerala in India has the UAE consulate. The story broke out when customs opened up baggage addressed to an attache in the consulate and found gold.
Kerala is too familiar to gold smuggling, kilograms of this expensive yellow metal was found in a different event in airports, all of them were illegal smuggling.
Even though the diplomatic bag is something that is sent by a country's foreign ministry to its consulate in any country, baggage addressed to embassy staff was also considered diplomatic and we're not usually scanned or opened.
This time the law enforcement doubted about the contents, and when a man who introduced as PRO of the consulate came told him that they have to open it and check it.

The man tried his level best to avoid scanning. But the customs took permission from India's external affairs ministry and opened the package in the presence of embassy officials.
And what they found was kilograms of gold.
The perpetrators were arrested including the former PRO of the consulate, former secretary in consulate, and some others who aided the crime.
The case is now said to have close relationships with the state government, opposition and the accused said in her statement that the consular general was also aware.
The case is currently under investigation and almost all major law enforcement agencies in the country are involved..