If I have a billion dollars, and start a country that consists of me in my palace and 2000 other people living in abject poverty, we are now the "richest nation on earth" by this definition. Big whoop.
Except your country would be very poor, because you'd have either another country's currency, or you would have a $1bn trade deficit and little actual wealth - thats after you somehow get yourself some UN recognized sovereign territory