For example you're watching TV, and say "this is funny." Do you have to have a noun in mind (movie [female], or program [male] (as example)), or can you describe things generically with male adjectives, as long as the noun isn't mentioned by name?
I'll start with English: there's no wiggle room. "He" strictly refers to "man" or "boy" and objects/females NEVER get this pronoun.
In Romance languages, generally, the masculine is the default when you don’t have a specific noun in mind.
However, you always have synonyms you can use that have different genders.