If you are using Safari, it may seem like the physical .ICS file is opened immediately in Calendar. In fact, the .ICS file is saved to your Downloads directory then opened by Calendar.
In Chrome, the default behavior may ask you to pick a location to Download the file.
In Firefox, it will ask you how to want to handle .ICS files now and in the future.
You can verify you Downloads directory by going to Safari > Preferences: