Re: US Marine Corps will be flying F-35Bs
As former U.S. military (Navy), I'd say that when you're attached to a foreign command, you obey the commanding officer, regardless, unless it goes against your basic oath of defending the U.S. Constitution.
Also do not forget to disobey orders that are against the Laws of War (Good Luck riding it out in the brig though).
(Also try to evade assignments in "deniable operations" where you will be left hanging dry by the denying weasels in charge once shit hits the fannon-MSM press.)