That's why you take it to an authorized repair center if that happens, they usually won't care.Restore iOS If it's super hot, I had that one time, if it gets hot you know there's some rogue process using excessive resources and drains your battery.
Apple won't touch it as soon as they see a third party battery or just anything else in the phone.
[doublepost=1514936176][/doublepost]
Most countries seem to have a similar law to this and I think that you are quite right as to how it would be handled.I would suspect that this would be caught in Australia under misleading and deceptive advertising.
Argument would be that a customer was sold something which was advertised as having such and such processor operating x times faster than previous generation hardware and being more power efficient. Whilst it was true at the time of purchase, this isn't the case after a software update that has slowed down the product as the battery is unable to sustain the advertised performance due to design of the product despite CPU being advertised being "more power efficient".
This is further exuberated by the company staff refusing to replace the battery and or advising customers to upgrade to a new product.
My 2c (but could be wrong, I am not a lawyer)