The requirements for a valid guilty plea apply:

Aonly if the guilty plea is preceded by plea bargaining.
Beven if the plea does not does not conform to statutory requirements.
Cdespite whether the plea resulted from threats or physical abuse, as long as the plea was understood.
Dregardless of whether plea bargaining actually took place.