Mathura, May 19: A court here on Thursday allowed a petition seeking to remove the Shahi Idgah mosque that it claims is built on the land belonging to the Keshav Dev temple, the alleged birthplace of Krishna, a lawyer for the idol worshippers side said.