The Thai officer nicknamed Joe Ferrari was serving a life sentence at a Bangkok prison.