CREATE TABLE table_5651 ("Name" TEXT, "Tenure" TEXT, "Courtesy title" TEXT, "Court Rank" TEXT, "revenues" TEXT)

What is the court rank of the person with a courtesy title of nagato-no-kami?
SELECT "Court Rank" FROM table_5651 WHERE "Courtesy title" = 'nagato-no-kami'
SELECT "Court Rank" FROM "table_5651" WHERE "Courtesy title" = 'nagato-no-kami'