It might be worth it to check actual coolant temp if this happens again.
See this webpage for how to get the information from your cluster.
http://www.ideaphile.com/bmw/540-obc.html
this only works if you have the 'high' level cluster, which some of the 3.0 liter cars don't have.
Sounds like there could be some gauge weirdness going on.