Impossible to deselect an object above another object?

Is there anyway to remove an object from the selection if it is above another object?

There’s no “Limit selection to visible” option in object mode, and shift-rightclick just selects the object underneath the one we want to remove. Alt-shift-rightclick doesn’t work either.

It’s such a basic function, it seems weird that it doesn’t work properly.

Maybe you should be clearer in exactly what you are trying to do with an example. Alt+RMB allows you to select by name theose objects under the curser
I don’t see any attached blend files or screenshots, reply back with more relevant info.