by default there is nothing, but it helps prevents too bold actions that might impact the diplomat too. There is a system where a diplomat can ask for a special authorization to get someone immunity to go somewhere. It's generally immunity from the embassy to the airport, and that's what Equator is denied for Assange by the UK.