¿¡Hwæt!? What is this silly grammar rule that is supposedly being violated? It certainly couldn't be anything saying the case of the pronoun must match the case of the referent irrespective of the pronoun's function in the sentence. That would be just plain stupid.