If you have to shave a dog to get rid of mats, that's just what you have to do. However, shaving a dog because it's summer is not the same thing. If you had to shave mats off a dog which is not supposed to be shaved, just let the hair grow out again but keep up maintenance.
Double-coated...