186. No defendant who pleads guilty immediately after obtaining further details or immediately after the count or the statement of offence is amended may be required to pay a greater amount of costs than he would have been required to pay if he had entered such a plea within the time indicated in the statement of offence.