Great inning by JZ.
Looked for the rule which calls Bernadina out but couldn't find it with a quick look.
He was ruled out not because he touched the plate but because he made contact with the ball during his bunt while his foot was out of the batter's box (home plate is outside the batter's box). There's no question his foot was outside the batter's box.
If only part of his foot had touched the plate while the other part was touching the batter's box line then he would've been OK.