Read the passage from Prince Shotoku’s constitution.

Respect the three treasures: the Buddha, the Buddhist law, and the Buddhist priesthood. They are the shelter that all people require. All people can learn these truths, no matter their past behavior.
—The Seventeen-Article Constitution, Prince Shotoku

What does the passage reveal about the influence of China on medieval Japan?

A- Japan as a whole rejected Buddhist influences and spiritual practices.

B- Farmers and workers practiced Buddhism, but the ideas were not embraced by elites

C- Shintoism was eventually replaced by Buddhist practices in the japanese court.

D- The practices of Buddhism influenced the japanese government during Prince Shotoku's reign