The application was granted consent by Edinburgh City council 's development management sub-committee on 29 October 2008 , subject to a number of conditions including the decision being referred to Scottish Ministers via Historic Scotland .