From what I read, Fettes (along with a few others) were set up as public schools following the English system and some of these schools still follow the English curriculum (presumably to get people into Oxbridge) so they could be classed as public schools in the English sense. But pretty sure in the rankings they are classed as independent schools.