A high-stakes Brexit court case could force the Queen to pick a side