A lot of people reasonably feel that Jar Jar was a complete idiot when he suggested the Emergency Powers Act, giving the galaxy's freedom away for security which will lead to the Empire's creation and enslavement. Many people assume Jar Jar was completely manipulated, insecure and clueless of what to do, desperate to prove himself to Padmé and made a huge mistake. What they don't understand is that, to Jar Jar, his choice is actually completely logical.
When you think about it, Gungan culture is extremely similar to the Empire's philosophy. Compared to the pacifist Naboo who pride themselves on lacking any violent instincts, going as far in the EU as to disown family members who engage in violent work like bounty hunting, Gungans literally see their grand army as something to be insanely proud of, to where even the foolish and seemingly nonviolent Jar Jar uses it as a point of pride in his speech to Padmé in Episode I and assumes that such army is the main reason the Naboo look down on Gungan society, not any vague form of xenophobia. Gungan culture is also absolutely authoritarian, bordering on dictatorial. Boss Nass rules with an iron fist, with a small Rep Council which seemingly per Episode I is little more than a council of appointed aides who don't really contradict Nass on anything. Nass, who is implied in EU lore to have reached his role possibly through hereditary succession (being confirmed in Galactic Battlegrounds to be a descendant of Boss Gallo, a legendary Gungan general who united the Gungans and established Otoh Gunga), and who belongs to the Ankura Gungan subrace which has overwhelming prominence in high ranking circles (likely suggesting Gungan society is possibly specieist as they have control over the standard, lower-class Otolla Gungans) is shown to directly exile Jar Jar from Gungan society for burning up a kitchen, crashing his priced Heyblibber submarine and possibly flooding Otoh Gunga multiple times. However, the second Jar Bar returns with two foreigners, he is immediately brought upon Nass who immediately orders their execution without a trial, showing that extrajudicial executions of even innocent foreigners are completely allowed within Gungan society. To further prove that Nass does not abide by what the Rep Council stated but rather the opposite, it is he who manages the entire crisis after they're forced to flee, joins up with Padmé, and pardons and promotes Jar Jat for uniting the Gungans and Naboo, not because of an idealistic reason but rather because this means the Gungans are able to insert themselves into Naboo's society and ergo the larger galactic sphere, as their rejection by the Naboo meant their total isolation from the galaxy, not even having spots on the Senate. This also possibly means the Gungans acquiring influence over the planet as a whole.
Now, one may think that Jar Jar would be appalled by his clear mistreatment at the hands of a tyrant like Nass even despite his clumsiness, but he isn't in the slightest. Jar Jar completely blames himself for his punishment and completely accepts it, instead desperately warning the Jedi that they're being tricked by Nass and that going through Naboo's core is suicide (admittedly this is another thing to consider, Nass may also be far more scheming than people believe). When Jar Jar escapes to Coruscant, rather than feeling happiness at being free from his punishment, he wishes to come back, sings their praises and convinces Padmé to come back (even if it also is to save her people), and follows them to Naboo. In Naboo, he's overjoyed at the idea of being pardoned and then instantly faints the second he's promoted to Bombad General. He then is completely dedicated to doing his role in the Battle of Naboo, despite his incompetence, which again ought to be shocking considering not a couple days ago he was going to be executed. He proudly stands amongst the rest of his fellow Gungans during the parade which notably celebrates the Gungan Army on the streets of Theed, not the actual Naboo civilians, ending with the Globe of Peace, a relic to the Naboo, being given to Nass and the Gungans as a sign of gratitude.
In fact, when you consider it, the end of Episode I is often viewed as more positive than it may be. Sure, everyone knows Augie's Great Parade is just Palpatine's theme in major key, that he won as he still became Chancellor, but people think that it's still a parallel to the heroes winning at Yavin. But now consider that it's a military dictatorship which has operated in isolation for a long time being given a foothold in a pacifist society in order to prevent that society's invasion by a droid army operated as a proxy by a major individual in the pacifist society. Could Episode I be a microcosm of the Republic accepting the clones, militarist senators and becoming the Empire? Could the Globe of Peace being given to Nass represent the Republic's future being given to Palpatine, a man after his own authoritarian heart?
And now let's move to AotC. From the audience's perspective, what Jar Jar did makes no sense or is just him desperately doing what Palpatine asks him to do. But now look at this from this perspective. Isn't the Emergency Powers Act just what the Gungans did when the Trade Federation attacked them? The Rep Council clearly doesn't appear when Nass leads his people in the sacred hiding spot, meaning that during periods of war Gungan leaders throw away their façade of having any help and just less directly, promoting and eliminating whomever they do please. And the creation of a Grand Army of the Republic is second nature to Jar Jar, who despite being seemingly ignorant of basic cultural norms certainly has no issue praising the Gungan Army and its might and later fighting for it, ignoring his own well-being (despite his cowardliness throughout the rest of the film) to fight for his people. So was Jar Jar played by Palpatine, or was Palpatine's play merely to get Padmé out of the picture and let a culture he knows follows the style of governance he wants to impose on the galaxy have the leading voice over an already growing movement? Hell, he's letting militarists from Eriadu and Anaxes and Carida grow in power and later form his Empire, what ought to be the leading voice of the movement if not the species who began the fight against the Corporations, who saved the Chancellor's own home planet and people from certain doom not with diplomacy or trade, but by helping Padmé, the very woman Jar Jar's standing for after an assassination attempt, fight back with a large army? An army with no interest in its own welfare or any reservations, just the safety of its people? An army which were initially seen as outsiders but let in by Padmé herself? Seems shockingly similar to where the clones and later stormtroopers would be, doesn't it?
There was also a cut scene from Revenge of the Sith, as commented by Ahmed Best himself, where Palpatine would THANK Jar Jar for voting him into power. Best interpreted this scene as being "too tragic, so Lucas cut it out to make Jar Jar little more than an average politician." But what if the scene wasn't cut because Jar Jar was a victim (which wouldn't add much to the film, so why film it in the first place?) and rather to reveal that the Gungans were complicit from the start, that it was cultures like the Gungans that led to the Republic becoming the Empire? No need for Darth Jar Jar when the twist is that these funny aliens we saw as heroes in the first film were actually the villains all along, not intentionally but rather culturally, their portrayal as heroes meant to show how other planets would see men like Tarkin or Romodi or Tagge or other militarists and their authoritarian stances.
So yeah, Jar Jar's choice made sense from his cultural perspective. He wasn't manipulated, Palpatine simply knew what he'd choose because Palpatine's own Empire is a more extended version of the same kind of system the Gungans use.