Pasteurization is an entirely different matter though. Heat treatment will convert some fraction of lactose into smaller sugars, including its constituent galactose and glucose[2]. This is why ultra-pasteurized can taste a bit sweeter than untreated milk. Pasteurization also inactivates lipases which would otherwise cleave the fat molecules, reducing the likelihood of rancidity[3].
1. https://books.google.com/books?id=1OhFPZ7tFz8C&pg=PA864&lpg=...
2. https://books.google.com/books?hl=en&lr=&id=6Q8mX8DsDe4C&oi=...
3. https://books.google.com/books?id=gJ6jA7LG-bsC&pg=PA276&lpg=...
I learned about lipase when I was a kid and followed my dad around at the farm. According to him it was the lipase in the homogenized whole milk that made the difference in taste that I recognized between milk from the storage tank on the farm and bought milk.
Reading up on it now it seems to be a bit more complicated but still.
I have some formal training in biology, but I'm certainly no expert and may be incorrect. What I do know is that dairy systems are complicated.