Franz Joseph and religious motives