I've never read that the battery cables should be disconnected before swapping ECU's!
however these things can be lost in translation from the Italian source I imagine!
No doubt. Always disconnect for anything that can have even the slightest amount of juice running thru it before messing with it. Better safe than sorry.