The Avengers used to have consulates all over the world, and every Avenger had equal rank to a UN Ambassador until the shit hit the fan and the UN ceded complete global power, citing the Avengers as the masters of the planet so that they could take on some dinky big bad just a little easier.
A seriously clueless writer.