Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
The native VLAN packets are sent out untagged. So, each switch assumes that the untagged packets belong on their native VLAN even though it is configured differently. You are not routing packets, you just stumbled onto a loophole.