When we wrote a standalone Python script using ArcMap python (version 2.7) and wanted that it will use a different level license then the default we used "import arcinfo" or "import arcserver" if we need to use server license.
I could not find any way to do it if I use Pro arcpy (version 3). The CheckInExtension, CheckProduct and other function does exists but there is no way to change the default license. Tring to old import option gives an error.
my reading is that licensing is set at the organization level and there is no way to set a different license level
Only ArcGIS Pro uses licensing through the organization. Other ArcGIS Desktop applications—ArcMap, ArcCatalog, ArcGlobe, and ArcScene—use the local ArcGIS Administrator application to set levels and extensions.
What we really like is to use local server license (import arcserver) on a machine that does not have pro installed.
If Pro is installed in most cases taking the default license is fine.