That's a good question. They do in fact contain the same notes (as far as location on the piano is concerned), but the real determinate of what to call it depends on where and how it's used.
So, sound wise they are the same chord, but theoretically they aren't.