Ahhhh, I think I might get what you are saying now!
Yes, it is entirely possible that if the United States wanted to get rid of Barack Obama, which they DO NOT and WON'T because he is President, they could DEFINITELY try using something like that as their reasoning. Like getting Al Capone put away for tax evasion.
Although it could well be that the form he filled out at 19 to renew his Indo pass didn't contain ANY swearing of allegiance but was instead just your basic form renewing a document. As it is here. Show us your old pass, where do you live, let's see your ID, bla bla bla.
It's a moot legal point because the State Dept definitely will not be pursuing ANY way to remove Barack Obama's citizenship, no matter what he swore to the Indos. Even Adam Gadahn was broadcasting Al Qaida's wishes for some time before he lost his USA citizenship.
I agree with you here. The State Department will not be pursuing Obama, no matter what he did in Indonesia.
The only way it would come out would be if private citizens discovered records indicating that Obama held himself out as an Indonesian citizen as an adult, like in his college application or financial aid records, and then voices in the media started paying attention and the question then follows as to how did he have Indonesian citizenship as an adult and what did he do in Indonesia with respect to that?
That, I suspect, is why he has refused to allow Occidental or Columbia to release his college records. It might give impetus to a line of inquiry that could lead to a very serious problem for Obama.