Is a lawyer allowed to represent a defendent as "Not Guilty" if the defendent told him he did it? :waitasec:
Yes.
It is the client entering the plea (or the lawyer entering the plea on behalf of the client), not the lawyer giving their own opinion on the charges.
If you look at many criminal acts, there are usually a range of charges possible. For instance, the term homicide legally means "death at the hand of a human being." Under that general category can be included deaths caused by a suicide jumping in front of a truck, a car sliding on black ice, driving while impaired, a death caused by a blow meant to inflict an injury but not to kill, a contract killing, etc.
In many cases, the defendant may be guilty of the general category of crime but not be guilty of the specific charges brought by the prosecutor.
A real life example: a woman in an abusive marriage was being beaten by her husband. She managed to get away from him, ran into the basement, picked up a shotgun that their son had been cleaning when the argument broke out, waited for her husband to follow her down the stairs and shot him at point blank range. She had to be taken to the hospital before she was booked because during the beating, he'd broken her nose, both cheekbones and dislocated her jaw.
Did she commit homicide in self defence? Or was it murder in the second degree (she grabbed the gun)? Or was it murder in the first degree (she waited in the basement for him to follow her)?
This was back in the middle 70s and the local prosecutor went for murder in the first degree. The prosecutor's reasoning was that the woman could have run outside or called 911 for assistance rather than killing the husband.
The jury came back with "not guilty."