grammatically

adverb3 コロケーション平均頻度: 7.4

strictly conforming to the established rules of grammar.

文法的に間違っている

not conforming to the established rules of grammar.

文法の規則によれば間違っている。

conforming to the rules of grammar, even if not perfectly conventional.