Den scenen inträffade i Episod II där
Padme had to go back to Naboo so she made him her proxy to the senate.
Och sedan Palpatine
Social engineered him into putting the motion before the senate (by looking at him and saying words to the effect of "if only there were someone brave enough to make this motion"). The motion was that Palpatine be granted emergency powers, which he used to raise a grand army of the republic aka the clone army aka the stormtroopers.
Så han var inblandad, men om han inte hade gjort det hade Palpatine bara lurat eller beställt någon annan att göra det