The Sogas had promoted Buddhism as an imperially sanctioned counterweight to the native Shinto religion, along with the new Chinese customs, to weaken the influence of their more conservative rivals.
Buddhism was used by the Sogas as a way of weakening their rivals.
The dog is swimming through the ocean, trying to get the stick his owner threw in