Zero cost of electricity if that's illegal is not right, I mean stealing is bad right and by the law you will be punished just like the recent cases about grandma stealing power, so that can't be taken into consideration.
Yes, this is wrong, but it happens. Therefore, this should be taken into account.
But someday it should end. Even in Russia, where mining was almost not regulated by banks, there was a case when a bank requested a wallet address and confirmation of payment for electricity.