Star Trek: The Next Generation, Series 5, Episode 13.
First broadcast on Monday 10 February 1992.

This week, the Enterprise crew worry unnecessarily about upending the lives of people living under a weird-ass conservative regime, only to find that those people are desperate to get out and there is no good reason at all to prevent them. Also, Deanna has sex, with unfortunate results.