The deal was due to be signed on Thursday morning but was temporarily blocked by an injunction hours before.