Well first off, you can see HRE's intentions by entering in diplomacy with them and offering mutual military access. If the offer is very demanding, then it's war (if allied, see if canceling an alliance is very generous. Also war).

Aside from that, no, there is no diplomatic way to ask them to leave.