Update: President Erdogan has formally changed the status of Hagia Sophia to a mosque.
ANKARA—A Turkish court annulled on Friday a 1934 government decree turning Istanbul’s Hagia Sophia into a museum, paving the way for the building’s conversion back into a mosque despite international warnings against such a move.