That is certainly what the DM thought as well.
I was playing a non-casting ranger who wielded a bastard sword two handed, had skill focus heal and survival, had levels of paladin despite not being LG, and whose highest scores were in Wis and Cha.
IMO that is almost as far away from making a character based on mechanics as you can get, but the DM sure thought differently.