This is what the law says about breaking into a car to rescue a dog in hot weather.