A Preston church has been told that it can build a three-storey extension - on stilts.