Egyptian president in Germany amid protests