I did this once with my LG cleric of Moradin. I jumped a thief stealing from a warehouse and killed him with my battle hammer. Needless to say I had to quest for atonement. If the character is truly sorry about the case then he stays good. If not then he shifts to neutral. The law/chaos axis on the other hand should not be touched (for now) but definitely kept in mind.