Notwithstanding any other provision of law, in the event that a person is convicted of a criminal offense in any court of this Commonwealth and such person has also been sentenced to imprisonment for a term of one year or more by a court of the United States, or any other state or territory, and, at the time of sentencing in this Commonwealth, is incarcerated in a federal or state penal institution, the court may order the sentence to run concurrently with the sentence imposed by such other court.
1977, c. 344.