This is not fully true. In the UK they go by their parents title like William was William Wales in school but his legal last name is Mountbatten-Windsor as proven by that being the last name on his French lawsuit.