A minor
It's a question of ontological priority and what you mean by "church." Did God establish a people ("the church") and then command them, among other things, to worship Him by Word and sacrament in local assemblies? Or did God establish an institution ("the church") with officers and then command these officers to bring about the people of God by the sacraments? See Leithart's The Kingdom and the Power and Schlissel's Make Room for Daddies for the opposing visions.