I know that Lionel has been using 9Volt batteries to keep their sound systems from dropping out in case of dirty track or dead spots.
I must ask is it dangerous to the electronic boards if you put in a 9V battery if the engine is no longer Mint or Factory-New, and if the engine has already been programmed for a Command System, either TMCC or Legacy?
I've had only one engine blow its board when I put the battery in, and it was the only one of the battery backed up engines I purchased that was not in Un-Run condition.