Mechanical competition alters the cellular interpretation of an endogenous genetic programme