And if you connect just one end of an AC source to ground, nothing will happen.Its a standard 3-wire system: "0", "phase", "ground", I am from Bulgaria, but I think all of Europe uses this system.
If you connect 1 end of the DC battery to ground, nothing will happen, if you connect both ends than yes it will work, and like mentioned in the previous post dont do it!