The recipient T cells are not reacting against the donor MHC itself, they are reacting against the donor peptides that are presented on the donor MHCs. The process is very similar to what would happen during T cell reaction to virally infected cells.