Court quashes rape conviction due to jurisdiction issues