Don't most schools have a code of moral conduct to sign before graduation?
If a Government (or TLA or whoever in power) wants some Evil Thing, a piece of paper from somewhere promising not to do Evil Things will not be a hindrance to either asking [or, depending on where, compelling] you to take part. If you have the option to decline, they will keep asking people (and increasing the financial reward) until someone agrees.
Doctors are generally quite proud to be take part in the Hippocratic oath which connects their actions to something much larger thsn themselves