Democracy has limited relevance without education: SC judge