Complex sentence: The original statue was to return to Gibraltar as requested so long as an exact replica would be carved and placed in the Chapel of Our Lady of Europe in Algeciras.
Split into simpler sentences: The original statue was to return to Gibraltar. At the same time, an exact replica would be carved and placed in the Chapel of Our Lady of Europe in Algeciras.