So if a warranty on a Kia in Australia is 10 years, if it breaks within 10 years, the buyer can get a full refund on the car? Thats a crazy law if it’s indeed how it works.
Yes, that's how it works.
In fact, if it were a manufacturing defect it would apply even after the warranty was over.