Wiktionary
adv. (context legal English) legally; according to the law.
Usage examples of "as a matter of law".
Where a grant of summary judgment may be precluded by evidence of substantial differences between two works because such evidence would demand a trial on the issue of substantial similarity, should we follow the procedure of the court below assuming copying we must determine whether there are differences which are not extensive enough to show that there is no substantial similarity between the play and the picture as a matter of law.
But the man they'd killed had funded the creatures who'd shot up Charlottesville, killing women and children without mercy, and, in facilitating that act of barbarism, he'd made himself guilty as a matter of law and common morality.