If her friend is a Judge, then he/she would know it is a conflict of interest to hear that case and have to let another unbiased Judge rule. I doubt he/she would feel the friendship is worth the risk of losing their job over a landlord wanting to evict someone over "utility usage" when this has been an unseasonably cold winter in the lower states. She would have to provide records of previous tenants utility costs and it sounds like her building isn't adequately insulated and the costs are her fault as building owner. If it is "Her Friend" and they do find in her favor, then you can claim a mis-trial due to the conflict of interest.
(I'm no legal guru, so you could go do some googling on tenant rights etc in your state and see what it says)
-Shadow