Wear the uniform if in doubt. In much of the rest of the world, uniforms of any sort inspire varying degrees of respect, awe, or outright terror. At the very least they will assume that hassling you will result in some level of diplomatic interest from your embassy.