Ganemulle Sanjeeva was shot at close range as he entered the dock in a bail hearing at the Colombo Magistrates Court.