Technically, acting against the will of the people is not treason. For it to be treason you have to act directly against the monarch or support the enemies of the monarch.