Even if it's a "may issue" state, such a court order may still work.
I'd find it interesting to see how the LEOs in such a state would react to being presented such an order. Any refusal to issue such a permit might be actionable by the court.
In this case, all the local police were aware of the judge, but that does raise a question about police who didn’t.
In such a case, it would probably “pay to advertise”, to visit the local cop shop, show a supervisor the order, to see if he is cool with it.
If you’re ever involved with anything that might be controversial, it is usually a great idea to visit the police station. They can’t read minds, and with all the changes in the law, it’s pretty hard to keep current. So when somebody gives them a heads up on a subject that might create friction, they are generally grateful.
New gun laws for CC and open carry take a lot of getting used to, for one.