Considering that Picard was violating orders just by being there, how was he able to take command of the fleet so easily?
Because Admiral Hayes' flagship had been destroyed. (Hayes himself survived the battle but he must have been in an escape pod or somewhere else where he couldn't exercise command.)
Without the fleet commander, Picard found it easy to take command. Probably because of his reputation.