Of course, for any kind of deal, some kind of arbitration panel is needed. If Theresa is hellbent on getting out of ECJ, A creative solution is just to rename it. Europe and Britain Court of Justice. Add a couple of token changes to to EBCJ rules and Theresa can claim how her strong and stable leadership made a big difference while still remaining part of EASA - and all the other similar EU organizations that turn out to be "essential"
Now of course there is a slight problem. Any Brexit deal needs unanimous support from all 28 member countries. What are the chances that none of EU countries will elect a obstructionist nutbag during next two years?