Ref. No. 1074/41-270
In the name of Allah the most Gracious the most Merciful
The answer to your question is as follows:
Using illegal electricity connection is not allowable in shariah, hence either the people should pay the electricity bill or switch off the air condition if they are unable to pay the bill.
And Allah knows best
Darul Ifta
Darul Uloom Waqf Deoband