No law makes sense

This is a common place for the superhero universes that tend to be realistic in their description of the world. So, basically, this cliché is about all the shared universes of the moment. Thus, as it is clearly said in Captain America: Civil War, the heroes are actually vigilantes. And they are, basically, breaking the law each time they act.
However, even if so, the law doesn't actually exist for these heroes. Sure, Superman is called for a hearing in front of the Senate and the Sokovian Accords are written. However, does it surprise anybody that the heroes actually escape from justice in the end? I guess not. So the law has no significance.
Even more than that, it doesn't make any sense. Take Superman who battles actual gods and prevents them from destroying the world at the cost of a single city. Or take the Avengers, who destroy only one city at a time, thus preventing the world from being obliterated. Should any of the heroes stand trial, even if their acts aren't exactly legal?
I guess we need another Civil War to delve into this issue.
