'His ribs, spine and hip bones were extremely prominent and he had what looked like pressure sores on his legs, back end and tail' - an RSPCA inspector told a court