Yes the ECMs are physically identical. It is the program inside that makes it a "race" ECM. You can blame the EPA and CARB for the need to mark the case.
So a stock ECM with a race program in it is identical to a "race" ECM.
Don't get confused when someone will eventually note that there are specific "race ECM" firmware versions. I am unaware of any functional difference between the firmware versions.