Not true at all. I’ve known plenty of people who are just walking muscles, in the best shape ever, and were told they had to drop weight because they didn’t match the BMI scale.
I'm 5'10 and was about 210 at the time, didn't have any issues. I guess it depends on the doc.