We are certainly notified about anything or anybody nonstandard that we are requested to take along. This includes, but is not limited to, dangerous goods, medical cases, inadmissible passengers rejected by border control, and the here mentioned deportees.
A certain dislike of avoidable surprises is present in most crewmembers, so this information will be duly noted and be talked about as part of the preflight crew briefing.
Apart from this - allow me to third what Torque Tonight has written. It is not up to crew to second guess an enforceable judicial decision. There are many legal options available to challenge a court order; none of those involve flight crew.