Only if it is a state owned (diplomatic) device. Without diplomatic protection, you can be can be charged with, depending on jurisdiction and circumstance, anything from evidence tampering, obstruction of justice, to contempt of court. Technical hacks to human problems are only viable when you are shielded by sovereignty.