Definition of the gunboat diplomacy are diplomacy in which the nations threaten to use force in order to obtain their objectives .