Why were the power companies required to comply while the court case was going on?
Because it's comrade Obama, and what he says, goes.
Power companies, despite their pandering protests, love these mandates. Since they are a government controlled monopoly they are guaranteed a “reseanable” return on their investment. Every government diktat from any level is a way of raising costs that results in a return on a larger base.