Only 2 is correct. The meaning is In cases of extreme emergency this gun can be used or In cases of extreme emergency this gun must be used. For the meaning you call b), the statement would be This gun is not to be used except in cases of extreme emergency.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.