Judge allows Ten Commandments monument