European states have been largely sidelined as the conflict between the United States, Israel and Iran has escalated, and they are grappling with how to defend their interests.