Court calls for amicable settlement of Ayodhya dispute