Whether Bercow acted in accord with the advice he was given by the Commons Clerk is not the relevant thing. It would appear he acted in accordance with the wishes of the House, and that is his job.