Completely disagree with the OP. Yes, it's a silly episode, but that's not a negative. The 2nd season brought some much needed humor to the series and it was nice for an episode not to involve Kirk about to be killed or a planet about to be destroyed.
Some of the exchanges in the episode are fantastic.
"Typical Police Mentality. They've got no sense of humor, they arrested me!" Mudd says.
"Oh, I find that shocking," McCoy
"Worse than that, do you know what the penalty for fraud is on Deneb V?" Mudd
"The guilty party has his choice. Death by Electricution, Death by Gas, Death by Phaser, Death by Hanging." Spock
OF COURSE Spock knew that.
The way they win against the Androids is silly at the end, but again, it's a silly episode, so that's fine. I don't take this episode seriously, if you do, you're not gonna like it. Just enjoy the silly.