An Australian judge has reinstated tennis star Novak Djokovic's visa, which was canceled after his arrival last week because he…