Some subjects have tendency to worship their kings and consider them representative of God.May be out of their justice or tyranny. Story of King Rama caught the imagination of masses because of his description as Ideal King or human being. People used to draw inspiration from him. It hardly matters whether he was real or myth.