Do the following sentences say the same thing?

If convicted of the spying charges, he could face the death penalty.
The charges of espionage and aiding the enemy can carry the death penalty.

Return your answer on a scale from 0 to 5, where 0 is "not similar" and 5 is "very similar".
4