The company has received a temporary restraining order from the court but faces uphill legal battles.