My understanding is that you're safe in swapping the ECUs, as they're the same in both AT and MT cases, and there's an input (via the connector/harness, of course) that informs it which type of transmission is in place. The (automatic) transmission is managed by a separate controller, the TCU, which communicates with the ECU.
I assume you've restored your O2 sensor "mod" to its original state.