If you flash cwm over twrp you phone recovery changes but phone wont reboot ,it will stuck it sony boot logo. Although You can go into CWM recovery by flashing it over twrp and can restore stock rom . But am not sure so try it on your own .!!
If not worked just flash stock rom using flashtool...