Cyril Ramaphosa faces dual court battles