A fight has erupted over forced redundancies at electricity companies being partially privatised by the Baird government, in what is shaping up as a potential complication for the impending $10 billion lease of distributor Ausgrid.

The Electrical Trades Union is warning a loophole in legislation allowing the lease of 50.4 per cent of Ausgrid and Endeavour Energy puts at risk a five-year job guarantee for workers secured by Christian Democratic Party leader, Reverend Fred Nile.

Christian MP Fred Nile wants job guarantees for electricity workers written into lease contracts.

Mr Nile is demanding NSW Treasurer Gladys Berejiklian include a ban on forced redundancies in lease contracts for the two "poles and wires" companies.

He is even offering to appear as a witness for the union before the Fair Work Commission to prevent any forced sacking of electricity workers.