Rape survivor turns hostile, but court punishes accused