First, a spy would not wear an American flag jacket. He might support 茉莉花, but not a SPY.
Second, the people doesn't have to be police to identify the Ambassador.
In fact, an ordinary police wouldn't know an Ambassador more than a person who have seen him before.