Ezekiel 40-48 is unfulfilled prophecy, pointing towards the future third temple/ messianic kingdom.
The Torah is still taught in the messianic kingdom. "There he will teach us his marvelous ways." It shows me in hindsight what He meant by Levites not marrying other peoople.