If you find someones wallet in the street. Take the cash then give it back. If it can be proven you took the money, you can be charged with theft. The famous saying 'possession is 9/10ths of the law' relates to proving who's possession something is, not what your rights are once you have it.