"transacted" seems an inappropriate verb. I wondered whether it was jargon in some field, but Google search for "transacted the offence" returns a big fat zero relevant hits. We say that the offender "committed" the offence.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.