Since the Salvatore home was signed over to Elena and Elena never invited Katherine in, Katherine should have been unable to enter, but she did. (This may be due to the fact that Elena technically died, meaning the house no longer had a living human owner.)