Steps on to shift shops out of shrine, government tells court