The precedence of Thai royalty follows a system of ranks known as thanandon , which are accompanied by royal titles.