Evil and I were talking about this last night.
I would suggest that the proper procedure in such a circumstance is to first determine whether it's a request, or if you're being detained. If it's a full blown detention, show them the ID asap. If it's a request, then decline and say nothing more.
While the disclosure law obligates people to show IDs and CPLs, it also doesn't take away the cop's obligation to work within the bill of rights and Terry v Ohio.
So for you to follow the letter of the law, you may have to show ID for an unlawful stop. But you also can go right ahead and FOIA their evidence and notes and such about the stop, and determine if they had any RAS or not.
If they don't have any legit RAS, it becomes minimally time to complain to the PD's internal affairs, as well as to the MSP for an unlawful LEIN access. Will they do anything? Probably not, the thin blue line hates taking out its trash. But they'll still have to follow up on it, and make up some stupid reason about why it was justified, which will at least provide entertainment.
Point is, if they're going to screw with you through the legal system, at least return the favor.