Regardless...some action must be brought before a judge before he can issue an order. What action is brought to seek this order? Who are the parties? What notice is due to the other parties?
Judges can't just issue orders for the hell of it.
Actually, judges can issue whatever orders they like. Whether they're kosher or not is another question. I've heard tell of some doozies being handed down in local courts. Some people even go to the court in a neighboring town as spectators just for the sheer entertainment value.
But kosher or not, unless someone challenges it, an order is an order; and I don't think the chances of some yawning bureaucrat at DMV challenging a judge's order over something as mundane as a driving record are very high.
As for what the order would say, I really don't know. I'm not a lawyer, either. But I suppose if I wanted to take the DIY approach, I'd do some research for the proper format, prepare a petition requesting the records, describe my reason for needing the records, and demonstrating why it was lawful for me to have them. I'd also prepare an order for Hizzonor's signature something along the lines of:
"This court has reviewed the petition by John Q. Pilot for a transcript of his driving record for the past 10 years. Upon due consideration, the court finds that the petitioner has a bona-fide, lawful need for the requested records. Furthermore, the court finds that there exists no legal reason why the petitioner should not be provided said records, and that it is in the interest of justice for petitioner's request to be granted.
Therefore, it is hereby ORDERED that the Department of Motor Vehicles shall cause to be provided to the petitioner, John Q. Pilot, a certified copy of his driving record for the ten years prior to the date of this order."
Either that, or I'd ask one of the lawyers lurking around the traffic court how much he or she would charge me to prepare something more lawyerly.
But hey, that's just me. I find local government types easier to deal with than federal government types. So before literally making a federal case out of a state driving record, I'd look into local options. The worse that could happen would be that the judge says no, which would leave me no worse off than I was before.
-Rich