The only "justification" I can come up with is that they simply didn't think a person whose problems were impacting his job performance so badly could be on the fleet flagship. Also in the episode it is said that his previous commander had spoken well of him. So they probably believed that it was enough to just give him some advice to make him perform at his best.
Its really boils down to a day one crew vs someone who transferred from another ship.
And we don’t really know what Barclay did on his previous assignment that made him good enough to be considered for the flagship in the first place. Just that it got him a commendation.