Enlisted personnel do not order around flag officers under any circumstances. The guards were out of order.
No, the guards were right. Remember what I said: they have absolute
authority over whatever or whoever it is they are guarding. If anyone barges in and demands access without proper orders/ID, the guards can bar them, even if it's the highest of flag officers.