Yeah, it is illegal. If you can prove you didn't hack the account, then you punishment may be shortened. How you choose to do so is all up to you, but until then, you're held guilty for hacking.
Oh, and don't make your own tags on your thread title. Tags should be either [Solved] or [Admin].