The latest scholarship on this suggests that the attacker most certainly had a political motive, and acted with the help of the Japanese authorities. Officially, he was declared insane, but the real reasons appear to be resentment at foreign interference. Japan after 1860 modernised very rapidly, developing into a constitutional monarchy with a massive industrial base, while simultaneously retaining the older traditions and codes. This created I suppose a sort of dislocation in society - and quite possibly in individuals too. Esper Ukhtomskii, who wrote the offical chronicle of Nicholas's tour, summed this duality up nicely I think when he wrote,
"The Japanese have a rooted tendency to exalt in their most secret feelings and thoughts their ancient world; despising the foreigner in the heart while submissively learning of him."
Nicholas I think simply fell victim to the xenophobic resentment of the more backward-looking part of society.
I don't buy the idea that he'd behaved disrespectfully in a temple at all. Nicholas was attracted to Buddhism and likened his feelings on being in a temple to being in church. Yet, if you read some versions of this story, you'd believe he'd urinated in a shrine.
As for George of Greece - I don't know what he'd been up to. Certainly he was wild, and in the tea houses enjoyed himself greatly dancing with the geishas and so forth - but given what I have written above, I don't think his behaviour contributed to the attack which must have been planned in advance. Who knows? - At this distance in time I don't think we're likely to find out.
Janet