Bizarrely, RBS has its “bad bank” to thank for a bumper profit