dont want to be the bearer of bad news but the signs u got means the dtc / dsc has failed and is around a £1500 fix...yes £1500!!!
the exact same happene to me today but luckily the lights went off when i switched and restarted!
but if the warning lights remain then its time to dig deeeep in those pockets!!
dtc failure is a common problem of 4 cylinder 2005 -2006 e90 models, there is a number of threads about them on here.
they're so common that many dealerships usually give a goodwill gesture towards it repair but alot dont!!
im praying the warning lights dont come back!!!!