the ds9 episode ‘rules of acquisition’ is a badly written twelfth night-style gender reveal and it is a nightmare of queerbaiting
however the absolute best part is when the female ferengi tears off her fake ears and ferengi armin shimerman and ferengi wallace shawn both just YELL INCOHERENTLY in response