Pierce Brosnan just took a plea deal in his hot springs hiking case out in Idaho ... this after initially entering a not-guilty plea just two months ago.
According to court documents obtained by TMZ ... Pierce pled guilty to one of two charges brought against him -- namely, one count of foot travel in all thermal areas and within Yellowstone Canyon confined to trails -- after he allegedly wandered into a delicate hot spring at Yellowstone National Park in November 2023.
In exchange, the other charge was dismissed. Brosnan's guilty plea lands him with about $1,540 in fines and other court costs.
Remember ... 007 appeared to post a couple pics from an off-limits area in the park -- areas that are closed to tourists for both the safety of the springs and the safety of hikers.
Those pics got picked up by TouronsOfYellowstone -- an IG page that highlights the tourists/morons who break hiking rules in the gorgeous national park.
Brosnan was facing a fine of up to $5,000 or even six months jail time if he was found guilty ... instead, it seems like the star's putting this legal issue to rest.