NASCAR has agreed to an injunction to allow 23XI Racing to acquire the Stewart-Haas Racing charter pending an appeal.