I don't think they can do something, at the most they can cancel their distribution but it doesn't change past albums, not sure if they can buy the rights for past albums and not sure if is worthy.
It's probably worth a lawsuit.
Kakao M should face a Class Action for putting the artists in the line of fire of their Corporate War.
They should also be object of an antitrust lawsuit. But the Korean government love their corporations.