Court to consider if PM can be jailed over no-deal