Just have the senior-empress shove Demetrios into a monastery,kill or exile or his supporters,no civil war.The doctrine established was that the senior-emperor has the final say in everything,not that you depose a co-emperor.
Didn't you say that you wanted to remove her as well?