The patent holder didn't receive their patent by accident. It was reviewed by an examiner in the patent office. Patent examiners are skilled technical researchers who are trained to comprehend the matter they are examining. Once a patent has been granted, indeed, there is benefit of the doubt that the patent is valid. However - when it comes to whether the patent applies to a given invention, that's a matter of debate in a courtroom.