The back of the alternator can be rotated (I think in 90 degree increments; there should be four equally spaced screws but it's been a long time since I've looked at mine!) so I think you should be able to get the various connectors into an accessible position. There shouldn't be any physical contact between the alternator and the AC line. Hopefully someone can confirm this though.
Enjoy your new alternator

.