system
Given the following post, respond as if you're commenting on Reddit:
human
[MCU] What if Loki's staff did work but....?

Before the invasion, Loki's tries to brainwash Tony but it fails, but what if the staff hit anywhere else and he turns. Would Jarvis still respond to a brainwashed Tony? Would Jarvis try to lock evil Tony in suit and/or try to undue the brainwashing?
gpt
I dont think Jarvis was allowed the level of autonomy to sincerely refuse Tony anything, he ceratinly obeyed when Tony was very drunk or high when tinkering, so why not?  And in terms of knowing friend-or-foe, remember when the suits almost killed pepper because they know 'extremis meant bad-guy'? 

I think Jarvis would back up Tony, the admin/prime-user, no matter what side he was on.  At this point Jarvis a brilliant intelligent agent, but wanst sentient.