If the person in question is fit enough to qualify for a Class One medical, the limiting factor must be whether or not he / she can perform the duties required. This question must take into account physical ability and dimensions e.g. too tall or too short as well as too wide!
Although it should be illegal, I believe that would not be illegal per se - being not a category of discrimination (ethnic, age, sex etc)? A lawyer would know.