If I understand the plot correctly, the story of Haman's hatred to Mordechai and the whole Jewish people started with Mordechai disobeying the king's laws.
First, did Mordechai (as a prophet) know he endangers the whole nation?
Second, If Mordechai knew he would endanger the whole nation would he still not bow to Haman?
Third, what does the Halacha says about such behavior - is one really forbidden to pretend to bow to an official even if he puts his whole nation in a life-threatening situation?