The mistress hid in the closet, but her partner played a clever trick on her