An elegant way to do it would seem to be to require the court to consider both directions of possible trademark infringement.
If it was even remotely possible the court would rule "yes, we agree with the plaintiff's arguments that these are similar trademarks, and there is the possibility for consumer confusion, therefore we must check whose trademark has priority... turns out it's the grocers who have used the symbol for 111 years and Apple Computer owe a few billion in back licensing fees" then the lawyers would be terrified of filing the suit.