Okay, I'll give you Code of Honour, but yes, Shades of Grey is even worse than Justice.
No show is better than TNG at doing money saving bottle episodes. Disaster is one of the series best. Because in most of TNG's bottle episodes they put create effort into the story. Shades of Grey was a total lack of effort.
If you go by those lists, TNG and DS9 had the best bottle episodes.
VOY and ENT had the worst.