Palpatine is the one who orders Amidala to leave Coruscant so that he can pressure Jar Jar (the only Naboo representative available) into giving him emergency powers to legalize the clone army. Palpatine eventually uses this executive power to transform the republic into the empire.