A document from the supreme court says the punishment will be replaced by imprisonment or fines.