The prime minister invoked India and China to stress a simple point: religious buildings require legal approval. Their experiences show why enforcement must be firm and measured.