pseudolegality

Noun

 * 1) The appearance of legality of something that is not actually legal; The use of courts, police, or legal procedures to accomplish pseudolegal results.

Usage notes
A core concept regarding the difference between legality and pseudolegality is that without rule of law, legality has no sound basis, and thus asserted legality is only pseudolegality.