Grant Shapps, a former Conservative member of the U.K.’s Parliament and defense secretary, called a recent submarine name change by the Royal Navy “woke nonsense” to avoid offending the French.