Embassies are considered sovereign ground of the country that occupies them.
Which means even foreign police or military can not enter them without permission from the embassy. In fact they are expected to defend any foreign embassy from their citizens.
When a foreign Government is complicit in an attack on a embassy it is an act of war.
Why did it take 3 days for Egypt 3 days to do something about the attack?