A long time ago, on an Internet way before YouTube.
Actually, Kevin Rubio's fan film is so old (1997), it debuted in a physical location before being passed around the Internet. That physical location was the San Diego Comic Con, but it soon spread like wildfire online, which in 1997 was still an honestly nerdy place. It was so influential, when LucasFilm organized the first annual Star Wars Fan Film Awards in 2002, it was awarded their very first Pioneer Award.
The idea is simple: Imperial TV has a very popular show called TROOPS, and it's a lot like the Earth show COPS (with some Fargo tossed in).
I'll let you just watch and enjoy, but keep an eye out for a cameo by Mystery Science Theater 3000's Tom Servo.