BOSTON (Reuters) - Massachusetts Governor Charlie Baker proposed a bill on Tuesday to allow police and courts to hold people facing deportation orders in custody for extra time to allow them to be turned over to federal immigration officials.

The move by the Republican came a week after the state's top court ruled that law enforcement does not have the legal authority to comply with U.S. Immigration and Customs Enforcement detainer requests. The ICE requests ask that people facing civil deportation orders be held in custody for up to 48 hours after the cases that brought them into the court system are determined.

Baker said the court's decision overturned longstanding policy in the state.

"For years, many local police departments and the trial court have cooperated with ICE to ensure that they can detain violent and dangerous criminals, convicted of crimes like murder and rape, to keep our communities safe," Baker said in a statement. "This bill allows the state police to honor specific detainers."

Baker's proposal would limit compliance to cases where the person ICE officials want detained is suspected of violent crimes such as terrorism, street-gang activity or human trafficking, or has been convicted of a felony not directly related to his or her immigration status.

ICE detainer requests apply to immigrants in the country illegally who are arrested or otherwise enter the criminal justice system. Baker's proposal would require a judge's approval to hold people facing a detainer request for longer than 12 hours after their cases are resolved.

President Donald Trump has made cracking down on illegal immigration a top priority of his administration.

The state chapter of the American Civil Liberties Union criticized the move.

"Baker's proposed legislation ... is constitutionally suspect because it attempts to authorize state and local law enforcement to detain people without due process," the group's executive director, Carol Rose, said in a statement.

The leaders of the Democratic-controlled state legislature in Massachusetts did not immediately respond to requests for comment on Baker's proposal.