Is it safe to plug a transformer into a surge protector?
Yes you can do that, the reason you shouldn't do it the other way is that you can turn the varistors into a conductor (by overvolting) creating a short circuit in the surge protector.