Court to decide fate of cannabis ban in July