On the interaction of an isolated obstacle with a rotating stratified shear flow