A situation where the adjective being used to describe the noun is actually the opposite of the adjective being used [duplicate]

Forgive me, for I am not very eloquent.

If someone were to tell a bad joke but in the given scenario it got some laughs and could be recounted as a “good joke” then the joke was _____.

On the surface and out of context, the object of the sentence (in this case the joke) was bad, but in the given situation it was actually good, what would be a word to describe that?

When something could be described as one thing, but in a certain situation it is exactly the opposite. It would be _____.


Solution 1:

How about ben trovato?

appropriate and characteristic even if untrue; happily invented or discovered.

[Dictionary.com]