Just to clarify: the I-485 itself was denied because they said her status lapsed, and the NPT H-4 approvals were to retroactively fix her status so that she would now be eligible to adjust, right?
If this is the situation, I think your lawyer is right not to worry. The denial of the Motion to Reopen may havve been wrong, but it only means they won't look at the old I-485 again.
In court, the judge will look to see if relief (a solution giving your wife status) is available. She does - a new I-485 based on your approved immigrant visa as a [now] follow-to-join spouse (assuming visa numbers haven't retrogressed for your case and her I-485 can still be approved now)..
If my understanding of the case is right, this should be OK.