The sentence is grammatically correct, but only in the sense that ‘He ate to the blue adjective’ and ‘Colourless green ideas sleep furiously’ are grammatically correct: the words fit into the right places (subject, verb, prepositional phrase, etc.) from the point of view of grammar, but the...