It's a rule that they only seem to use when it suits, imo.
It was a warning that could have been given at the changeover. He hadn't broken a racquet, hit anyone, uttered audible obscenities. Not at a crucial point. Some umpires seem to like doing that though, but of a power trip.
And yes, it's been a patchy day- cut him some slack, and use some common sense.