Twisted solar active region magnetic fields as drivers of space weather: Observational and theoretical investigations