Obstruction and existence for twisted Kähler-Einstein metrics and convexity