 [ I ] f any offence shall be committed in any [ fort , dock @-@ yard , navy @-@ yard , arsenal , armory , magazine , lighthouse , or other needful building under the jurisdiction of the United States ] , the punishment of which offence is not specifically provided for by any law of the United States , such offense shall , upon conviction in any court of the United States having cognisance thereof , be liable to , and receive the same punishment as the laws of the state in which such [ place aforesaid ] , is situated , provide for the like offence when committed within the body of any county of such state . 
