Court considers status of Istanbul's iconic Hagia Sophia