Say that Justinian does not create Agia Sofia as the Nika riots become too much of problem and he just does not get the chance to create it. Which other Basileus would have the idea to create he pinnacle Church of the Orthodox religion. Or is it possible that Agia Irene would remain the only big Church and perhaps something else gets built in Agia Sofia's place