Ok in some incarnations of link he is a knight or his family are knights like in Breath of the wild, hyrule warriors and so on do forth. In the olden days commoners couldn't be knights it would have to be nobal blood. Link could have the blood of nobility in his veins and if you think about it...