AI Compliance: The Role of Architecture