A person obligated to attend Friday prayer is taken elsewhere before the congregation. What is the principle?

The Goodness of Commanded Acts: Intrinsic and Instrumental