The two meanings of the same expression are consistent with its context, which creates a humorous pun in both sentences when there is a clear contrast between two meanings.
heterographic puns take advantage of phonologically same or similar words.